-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add 79 missing locales #541
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #541 +/- ##
====================================
Coverage 100% 100%
====================================
Files 70 149 +79
Lines 681 918 +237
Branches 119 119
====================================
+ Hits 681 918 +237
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## dev #541 +/- ##
====================================
Coverage 100% 100%
====================================
Files 70 149 +79
Lines 681 918 +237
Branches 119 119
====================================
+ Hits 681 918 +237
Continue to review full report at Codecov.
|
## [1.8.12](v1.8.11...v1.8.12) (2019-04-02) ### Bug Fixes * Add .get API ([7318797](7318797)) * Add 79 locales ([#541](#541)) ([f75a125](f75a125)) * Add Calendar plugin ([d1b9cf9](d1b9cf9)) * Add isoWeeksInYear plugin ([2db8631](2db8631)) * Add Occitan (oc-lnc) locale file ([#551](#551)) ([c30b715](c30b715)) * Add plugin minMax to sopport .max .min ([2870a23](2870a23)) * Fix set Month Year error in last day of the month ([d058f4a](d058f4a)) * Update ko locale weekdaysShort ([#543](#543)) ([317fd3e](317fd3e)) * Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](#546)) ([f2b5ebf](f2b5ebf))
🎉 This PR is included in version 1.8.12 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Thanks @xxyuk ! |
name: 'en-au', | ||
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), | ||
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), | ||
weekStart: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not believe this is correct (or else Moment has changed it since you made this PR). According to Moment Australia has a weekStart of 0 (Sunday). I can't find a canonical source to back up either choice, but I wanted to point out that Day.js is deviating from Moment in this case. When tested on MacOS (System Preferences -> Languages & Region -> change Region to Australia) it appears that Australia starts their week on a Sunday.
## [1.8.12](iamkun/dayjs@v1.8.11...v1.8.12) (2019-04-02) ### Bug Fixes * Add .get API ([7318797](iamkun/dayjs@7318797)) * Add 79 locales ([#541](iamkun/dayjs#541)) ([f75a125](iamkun/dayjs@f75a125)) * Add Calendar plugin ([d1b9cf9](iamkun/dayjs@d1b9cf9)) * Add isoWeeksInYear plugin ([2db8631](iamkun/dayjs@2db8631)) * Add Occitan (oc-lnc) locale file ([#551](iamkun/dayjs#551)) ([c30b715](iamkun/dayjs@c30b715)) * Add plugin minMax to sopport .max .min ([2870a23](iamkun/dayjs@2870a23)) * Fix set Month Year error in last day of the month ([d058f4a](iamkun/dayjs@d058f4a)) * Update ko locale weekdaysShort ([#543](iamkun/dayjs#543)) ([317fd3e](iamkun/dayjs@317fd3e)) * Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](iamkun/dayjs#546)) ([f2b5ebf](iamkun/dayjs@f2b5ebf))
## [1.8.12](iamkun/dayjs@v1.8.11...v1.8.12) (2019-04-02) ### Bug Fixes * Add .get API ([7318797](iamkun/dayjs@7318797)) * Add 79 locales ([#541](iamkun/dayjs#541)) ([f75a125](iamkun/dayjs@f75a125)) * Add Calendar plugin ([d1b9cf9](iamkun/dayjs@d1b9cf9)) * Add isoWeeksInYear plugin ([2db8631](iamkun/dayjs@2db8631)) * Add Occitan (oc-lnc) locale file ([#551](iamkun/dayjs#551)) ([c30b715](iamkun/dayjs@c30b715)) * Add plugin minMax to sopport .max .min ([2870a23](iamkun/dayjs@2870a23)) * Fix set Month Year error in last day of the month ([d058f4a](iamkun/dayjs@d058f4a)) * Update ko locale weekdaysShort ([#543](iamkun/dayjs#543)) ([317fd3e](iamkun/dayjs@317fd3e)) * Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](iamkun/dayjs#546)) ([f2b5ebf](iamkun/dayjs@f2b5ebf))
## [1.8.12](iamkun/dayjs@v1.8.11...v1.8.12) (2019-04-02) ### Bug Fixes * Add .get API ([7318797](iamkun/dayjs@7318797)) * Add 79 locales ([#541](iamkun/dayjs#541)) ([f75a125](iamkun/dayjs@f75a125)) * Add Calendar plugin ([d1b9cf9](iamkun/dayjs@d1b9cf9)) * Add isoWeeksInYear plugin ([2db8631](iamkun/dayjs@2db8631)) * Add Occitan (oc-lnc) locale file ([#551](iamkun/dayjs#551)) ([c30b715](iamkun/dayjs@c30b715)) * Add plugin minMax to sopport .max .min ([2870a23](iamkun/dayjs@2870a23)) * Fix set Month Year error in last day of the month ([d058f4a](iamkun/dayjs@d058f4a)) * Update ko locale weekdaysShort ([#543](iamkun/dayjs#543)) ([317fd3e](iamkun/dayjs@317fd3e)) * Update localizedFormat plugin to support lowercase localizable formats (l, ll, lll, llll) ([#546](iamkun/dayjs#546)) ([f2b5ebf](iamkun/dayjs@f2b5ebf))
Hi,
I wrote a script and copied all the missing locales from moment.js.
Just the most important parts like month name and week name.