-
-
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 locale support for Azerbaijani language(az) #535
Conversation
Create az.js, add locale support for Azerbaijani language(az)
Update az.js => Unexpected trailing comma comma-dangle
Codecov Report
@@ Coverage Diff @@
## dev #535 +/- ##
===================================
Coverage 100% 100%
===================================
Files 69 70 +1
Lines 660 663 +3
Branches 114 114
===================================
+ Hits 660 663 +3
Continue to review full report at Codecov.
|
THX |
## [1.8.11](v1.8.10...v1.8.11) (2019-03-21) ### Bug Fixes * Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](dde39e9)), closes [#537](#537) [#531](#531) * Add locale support for Azerbaijani language (az) ([#535](#535)) ([eeb20fa](eeb20fa)) * Correct typescript definition `add` ([22a249c](22a249c)), closes [#531](#531) * Fix CustomParseFormat plugin formatting bug ([#536](#536)) ([8578546](8578546)), closes [#533](#533) * Update pt locale ([#538](#538)) ([1ac9e1e](1ac9e1e))
🎉 This PR is included in version 1.8.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.8.11](iamkun/dayjs@v1.8.10...v1.8.11) (2019-03-21) ### Bug Fixes * Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](iamkun/dayjs@dde39e9)), closes [#537](iamkun/dayjs#537) [#531](iamkun/dayjs#531) * Add locale support for Azerbaijani language (az) ([#535](iamkun/dayjs#535)) ([eeb20fa](iamkun/dayjs@eeb20fa)) * Correct typescript definition `add` ([22a249c](iamkun/dayjs@22a249c)), closes [#531](iamkun/dayjs#531) * Fix CustomParseFormat plugin formatting bug ([#536](iamkun/dayjs#536)) ([8578546](iamkun/dayjs@8578546)), closes [#533](iamkun/dayjs#533) * Update pt locale ([#538](iamkun/dayjs#538)) ([1ac9e1e](iamkun/dayjs@1ac9e1e))
## [1.8.11](iamkun/dayjs@v1.8.10...v1.8.11) (2019-03-21) ### Bug Fixes * Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](iamkun/dayjs@dde39e9)), closes [#537](iamkun/dayjs#537) [#531](iamkun/dayjs#531) * Add locale support for Azerbaijani language (az) ([#535](iamkun/dayjs#535)) ([eeb20fa](iamkun/dayjs@eeb20fa)) * Correct typescript definition `add` ([22a249c](iamkun/dayjs@22a249c)), closes [#531](iamkun/dayjs#531) * Fix CustomParseFormat plugin formatting bug ([#536](iamkun/dayjs#536)) ([8578546](iamkun/dayjs@8578546)), closes [#533](iamkun/dayjs#533) * Update pt locale ([#538](iamkun/dayjs#538)) ([1ac9e1e](iamkun/dayjs@1ac9e1e))
months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), | ||
monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), |
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.
Thanks for adding the az locale. I think these should have first letter capitalized. For example mantine date picker uses dayjs for date formatting and az locale looks like this:
Note how text input is mart
in lowercase. I'm not sure how I can back my claim up but Turkish locale has the them capitalized.
I think ru locale was taken as the base when creating az locale because of the fact that formats object is exactly the same as Russian one which contains Russian letter г.
## [1.8.11](iamkun/dayjs@v1.8.10...v1.8.11) (2019-03-21) ### Bug Fixes * Add .add('quarter') .startOf('quarter') through plugin quarterOfYear ([dde39e9](iamkun/dayjs@dde39e9)), closes [#537](iamkun/dayjs#537) [#531](iamkun/dayjs#531) * Add locale support for Azerbaijani language (az) ([#535](iamkun/dayjs#535)) ([eeb20fa](iamkun/dayjs@eeb20fa)) * Correct typescript definition `add` ([22a249c](iamkun/dayjs@22a249c)), closes [#531](iamkun/dayjs#531) * Fix CustomParseFormat plugin formatting bug ([#536](iamkun/dayjs#536)) ([8578546](iamkun/dayjs@8578546)), closes [#533](iamkun/dayjs#533) * Update pt locale ([#538](iamkun/dayjs#538)) ([1ac9e1e](iamkun/dayjs@1ac9e1e))
Create az.js, add locale support for Azerbaijani language(az)