Skip to content
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

Fix Chinese date time format display incorrect issue #27057

Closed
wants to merge 1 commit into from

Conversation

arzen
Copy link

@arzen arzen commented May 21, 2021

Chinese locale code in resources/locales.json "zh","zh_Hans_CN","zh_Hant_TW" not match "zh_CN/zh_HK/zh_TW", so the date time text display incorrect.
moment-lang-issue

@kesselb
Copy link
Contributor

kesselb commented May 21, 2021

Thanks 👍

Good catch. resources/locales.json is generated by a script and used in various places. I guess we need a mapping for the moment values somewhere.

@arzen
Copy link
Author

arzen commented May 21, 2021

ok,mapping is better before use moment.js, thanks

@hxchtiewei
Copy link

ok,mapping is better before use moment.js, thanks

哥们,这问题目前都NC27了都没有人解决,我看moment项目的路径“/moment/locale”下有"zh-cn.js/zh-hk.js/zh-tw.js”,非开发人员,只能查到这里了,然后需怎么弄?谢谢。

@susnux
Copy link
Contributor

susnux commented Oct 18, 2023

Thank you for your pull request!
This should be fixed now with #40808

@susnux susnux closed this Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants