Skip to content

#810 Correct short and abbreviated dayValues for de locale#817

Merged
leshakoss merged 1 commit into
date-fns:masterfrom
Philipp91:patch-1
Jul 27, 2018
Merged

#810 Correct short and abbreviated dayValues for de locale#817
leshakoss merged 1 commit into
date-fns:masterfrom
Philipp91:patch-1

Conversation

@Philipp91
Copy link
Copy Markdown
Contributor

The values are taken from https://www.unicode.org/cldr/charts/32/summary/de.html#1844, using "Days - (abbreviated|short) - Formatting".
Alternatively, the short values could be left as is (without the period). According to the CLDR table, that's the Swiss locale, but it would provide a two-letter version matching the English locale.

Copy link
Copy Markdown
Member

@leshakoss leshakoss left a comment

Choose a reason for hiding this comment

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

Great! Could you also please fix the test src/locale/de/test.js on line 87?

The values are taken from https://www.unicode.org/cldr/charts/32/summary/de.html#1844, using "Days - (abbreviated|short) - Formatting".
Alternatively, the short values could be left as is (without the period). According to the CLDR table, that's the Swiss locale, but it would provide a two-letter version matching the English locale.
@Philipp91
Copy link
Copy Markdown
Contributor Author

Done

Copy link
Copy Markdown
Member

@leshakoss leshakoss left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@leshakoss leshakoss merged commit fd3ca3c into date-fns:master Jul 27, 2018
@leshakoss
Copy link
Copy Markdown
Member

I've changed the short values to be without the period, and released this as v2.0.0-alpha.14. Thank you for your contribution! ⭐️

@Philipp91
Copy link
Copy Markdown
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants