-
-
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
Adds Occitan locale file #551
Conversation
In its general / central dialect
Codecov Report
@@ Coverage Diff @@
## dev #551 +/- ##
===================================
Coverage 100% 100%
===================================
Files 152 153 +1
Lines 955 957 +2
Branches 128 127 -1
===================================
+ Hits 955 957 +2
Continue to review full report at Codecov.
|
src/locale/oc.js
Outdated
import dayjs from 'dayjs' | ||
|
||
const locale = { | ||
name: 'ca', |
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.
name: 'ca', | |
name: 'oc', |
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.
Done! Thanks!
https://github.com/moment/moment/blob/develop/src/locale/oc-lnc.js what's the difference between |
There is no difference, if I put only «oc» it means «lengadocian» occitan. It's almost the standard, but we don’t have a standard form, the lengadocian is the most central dialect. |
@Quenty31 should we keep the same with moment.js and change to oc-lnc as well? |
It's up to you, both are correct, but if you want to use the same as moment.js, feel free to rename it :) |
Please keep the same with moment.js then. 😁 |
and update |
## [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 📦🚀 |
## [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))
In its general / central dialect