-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Document JapaneseCalendar.MinSupportedDateTime breaking change in .NET 11 Preview 1 #50920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
7a125d9
Initial plan
Copilot e42ce33
Add breaking change documentation for Japanese Calendar minimum date …
Copilot a4de4dc
delete new file
gewarren 3710edb
pull in main
gewarren 5063c6f
human edits
gewarren 73aa2f5
fix link
gewarren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../core/compatibility/core-libraries/11/environment-tickcount-windows-behavior.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
docs/core/compatibility/globalization/11/japanese-calendar-min-date.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| --- | ||
| title: "Breaking change: Japanese Calendar minimum supported date corrected" | ||
| description: "Learn about the breaking change in .NET 11 where the Japanese Calendar minimum supported date was corrected from 1868-09-08 to 1868-10-23." | ||
| ms.date: 01/07/2026 | ||
| ai-usage: ai-assisted | ||
| --- | ||
|
|
||
| # Japanese Calendar minimum supported date corrected | ||
|
|
||
| The start date of the Japanese Meiji era has been updated from `1868-09-08` to `1868-10-23` to reflect the latest Unicode Common Locale Data Repository (CLDR) data and improved historical accuracy. This date also serves as the minimum supported date in the Japanese calendar. | ||
|
|
||
| ## Version introduced | ||
|
|
||
| .NET 11 Preview 1 | ||
|
|
||
| ## Previous behavior | ||
|
|
||
| Previously, <xref:System.Globalization.JapaneseCalendar.MinSupportedDateTime?displayProperty=nameWithType> returned `1868-09-08`. <xref:System.Globalization.JapaneseCalendar> accepted dates between `1868-09-08` and `1868-10-23` as valid. | ||
|
|
||
| ## New behavior | ||
|
|
||
| Starting in .NET 11, <xref:System.Globalization.JapaneseCalendar.MinSupportedDateTime?displayProperty=nameWithType> returns `1868-10-23` instead. <xref:System.Globalization.JapaneseCalendar> now rejects dates between `1868-09-08` and `1868-10-23` as invalid. | ||
|
|
||
| ## Type of breaking change | ||
|
|
||
| This change is a [behavioral change](../../categories.md#behavioral-change). | ||
|
|
||
| ## Reason for change | ||
|
|
||
| The change was made to reflect the latest Unicode CLDR data ([CLDR-11375](https://unicode-org.atlassian.net/browse/CLDR-11375)) and improved historical accuracy regarding the start of the Meiji era in Japan. | ||
|
|
||
| ## Recommended action | ||
|
|
||
| Update any code that depends on the old value of <xref:System.Globalization.JapaneseCalendar.MinSupportedDateTime?displayProperty=nameWithType>. Avoid using Gregorian dates before `1868-10-23` with the <xref:System.Globalization.JapaneseCalendar>. | ||
|
|
||
| ## Affected APIs | ||
|
|
||
| - <xref:System.Globalization.JapaneseCalendar?displayProperty=fullName> | ||
| - <xref:System.Globalization.JapaneseCalendar.MinSupportedDateTime?displayProperty=fullName> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.