-
Notifications
You must be signed in to change notification settings - Fork 32
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
(DateTime) "getLocalizedPattern" is incorrect for Chinese locale #57
Labels
bug
Something isn't working
Comments
对不起... I've to use a locale specific approach for splitting. In this case, for Chinese, the pattern doesn't include a delimiter symbol but just characters which are the delimiters. 年 year, 月 month, 日 day, which should be removed and treated just like ":" etc. I will look into this if I have spare time! |
maxkeppeler
added
enhancement
New feature or request
bug
Something isn't working
and removed
enhancement
New feature or request
labels
May 24, 2023
maxkeppeler
changed the title
"getLocalizedPattern" is incorrect
(DateTime) "getLocalizedPattern" is incorrect for Chinese locale
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the “local” is in China,
com.maxkeppeler.sheets.date_time.utils.getLocalizedPattern() result is
”pattern=y年M月d日“
then
com.maxkeppeler.sheets.date_time.utils.getLocalizedValues()
Unable to obtain correct results
The text was updated successfully, but these errors were encountered: