-
-
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 LocalizableFormat plugin supplying format options known from Moment.js #305
Conversation
It is not grammatically correct. The current localization support in Day.js is insufficient for fusional languages like Slavic ones.
…t.js High-level options `L LT LTS ...` can be configured to patterns comprised of low-level options `h m y ...` in the `formats` object in a locale definition.
Codecov Report
@@ Coverage Diff @@
## master #305 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 52 54 +2
Lines 467 481 +14
Branches 72 75 +3
=====================================
+ Hits 467 481 +14
Continue to review full report at Codecov.
|
…rest of locales Convert them from Moment.js locales.
Follow usage of US English in Day's.
@tcrands will be available in next release soon. |
🎉 This PR is included in version 1.8.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
High-level options
L LT LTS ...
can be configured to patterns comprised of low-level optionsh m y ...
in theformats
object in a locale definition.Default format options are English defined in the plugin source code. German localization overrides them accordingly.