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

l18n package recommendation #92

Closed
wombatonfire opened this issue Dec 7, 2022 · 1 comment
Closed

l18n package recommendation #92

wombatonfire opened this issue Dec 7, 2022 · 1 comment

Comments

@wombatonfire
Copy link

This is a documentation improvement suggestion.

The Internationalization - i18n/l10n section of the README recommends using l18n package for time zone translation/formatting. As of today, it seems that this package is not being actively maintained. It's lagging behind the recent pytz versions, the latest release was more than a year ago.

While it seems to work for most of the current time zones, there are issues as well: the recently changed names for Europe/Kyiv and Pacific/Kanton zones are not recognized.

It may be a good idea to change the recommended package for i18n/l10n to something else. Babel can be a good option, specifically its time zone functionality in the babel.dates module. Babel seems to be actively maintained, it works for all current time zones, and it provides more features than the currently recommended package. Also, Babel's datetime/tz functionality in turn depends on pytz, so I would expect better compatibility with the new pytz versions moving forward.

@stub42 stub42 closed this as completed in 309a457 Dec 18, 2022
@stub42
Copy link
Owner

stub42 commented Dec 18, 2022

Ta. Updated.

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

2 participants