Skip to content

Add Calendar localization.#1915

Merged
Keboo merged 2 commits intoMaterialDesignInXAML:masterfrom
bombipappoo:jpcal
Jun 12, 2020
Merged

Add Calendar localization.#1915
Keboo merged 2 commits intoMaterialDesignInXAML:masterfrom
bombipappoo:jpcal

Conversation

@bombipappoo
Copy link
Copy Markdown
Contributor

@bombipappoo bombipappoo commented Jun 11, 2020

Changing the culture to "ja-JP", the result is as shown in the left figure below. However, I want the results shown in the right figure below.

cal

Therefore, the following changes have been made.

  • Specify the year format
  • Order of the month-day and the day-of-the-week
  • Specify the day-of-the-week format
  • Separator of the month-day and the day-of-the-week
  • Year-month format from DateTimeFormatInfo.YearMonthPattern

Sorry, but I only know far-east and English calendar formats.

Copy link
Copy Markdown
Member

@Keboo Keboo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow this is really great work. Clean easy to read code, and unit tested. Thank you very much!

@Keboo Keboo added the release notes Items are likely to be highlighted in the release notes. label Jun 12, 2020
@Keboo Keboo added this to the 3.2.0 milestone Jun 12, 2020
@Keboo Keboo merged commit 70e13dc into MaterialDesignInXAML:master Jun 12, 2020
@bombipappoo bombipappoo deleted the jpcal branch June 12, 2020 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement release notes Items are likely to be highlighted in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants