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

CH_ZN locale PM time is converted to AM time #5853

Open
rysasoma opened this issue Mar 15, 2021 · 0 comments
Open

CH_ZN locale PM time is converted to AM time #5853

rysasoma opened this issue Mar 15, 2021 · 0 comments

Comments

@rysasoma
Copy link

Describe the bug
result of the function moment(expirationTimeString, 'LT') does not return the correct result for PM times. It returns AM times.

To Reproduce
Entering the string 下午11:00 and passing it to the function moment.

moment("下午11:00", 'LT') returns 11:00

Expected behavior
In the above case, the returned time should be 23:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant