-
-
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
feat: Add locale (zh-tw) meridiem and update format #2149
Conversation
src/locale/zh-tw.js
Outdated
@@ -21,8 +21,8 @@ const locale = { | |||
LTS: 'HH:mm:ss', | |||
L: 'YYYY/MM/DD', | |||
LL: 'YYYY年M月D日', | |||
LLL: 'YYYY年M月D日 HH:mm', | |||
LLLL: 'YYYY年M月D日dddd HH:mm', | |||
LLL: 'YYYY年M月D日Ah點mm分', |
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.
can you please revert these two lines to make the same with https://github.com/moment/moment/blob/develop/src/locale/zh-tw.js
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.
OK, revert it.
Codecov Report
@@ Coverage Diff @@
## dev #2149 +/- ##
===========================================
- Coverage 100.00% 99.81% -0.19%
===========================================
Files 183 183
Lines 2096 2109 +13
Branches 550 554 +4
===========================================
+ Hits 2096 2105 +9
- Misses 0 4 +4
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
LGTM, can you please add some tests to make the CI pass? |
test added. |
🎉 This PR is included in version 1.11.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [1.11.7](iamkun/dayjs@v1.11.6...v1.11.7) (2022-12-06) ### Bug Fixes * Add locale (zh-tw) meridiem ([iamkun#2149](iamkun#2149)) ([1e9ba76](iamkun@1e9ba76)) * update fa locale ([iamkun#2151](iamkun#2151)) ([1c26732](iamkun@1c26732))
## [1.11.7](iamkun/dayjs@v1.11.6...v1.11.7) (2022-12-06) ### Bug Fixes * Add locale (zh-tw) meridiem ([iamkun#2149](iamkun#2149)) ([1e9ba76](iamkun@1e9ba76)) * update fa locale ([iamkun#2151](iamkun#2151)) ([1c26732](iamkun@1c26732))
## [1.11.7](iamkun/dayjs@v1.11.6...v1.11.7) (2022-12-06) ### Bug Fixes * Add locale (zh-tw) meridiem ([iamkun#2149](iamkun#2149)) ([1e9ba76](iamkun@1e9ba76)) * update fa locale ([iamkun#2151](iamkun#2151)) ([1c26732](iamkun@1c26732))
#171 Make zh-tw locale can display meridiem format