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

short_name_of_{day/month} not compatible with UTF8 chars #32

Open
fccm opened this issue Sep 13, 2020 · 0 comments
Open

short_name_of_{day/month} not compatible with UTF8 chars #32

fccm opened this issue Sep 13, 2020 · 0 comments

Comments

@fccm
Copy link

fccm commented Sep 13, 2020

short_name_of_day and short_name_of_month use:

String.sub s 0 3

This will only work with languages using ASCII chars only, but it doesn't work with UTF-8 characters.

In addition to the functions refs month_name and day_name we should also create month_short_name and day_short_name.

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