-
Notifications
You must be signed in to change notification settings - Fork 207
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
ymd_hms
functions are not picking PM/AM indicator
#327
Comments
ymd_hms
funcntions are not picking PM/AM indicatorymd_hms
functions are not picking PM/AM indicator
This happens on English locales that don't have PM/AM indicator like Two ways to deal with it. First option is introduce mandatory english locale parsing that would have lower priority than the current locale. This would essentially double the current overhead and it's also not system independent. You will have to know how standard english locales are names on all OSes. I am not even sure this is possible. Second option is to deal with AM/PM and day/month english names explicitly at c-parser level. This is directly related to #287. I think this is the most robust, fast and simplest approach. |
It also happened on me with Chinese locales. I solved my problem with I think this problem should be solved by user with either setting locale temporally in one session or specify locale in parsing command. However it will help a lot if the error messages and function documents include information and examples like this(especially the more obvious set locale to
|
The text was updated successfully, but these errors were encountered: