-
Notifications
You must be signed in to change notification settings - Fork 479
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
Time module does not respect locale #73
Comments
Well, all the formatting is done by the |
I forgot to answer here. It seems like it should be able by combining the So I guess that for the moment it is a "won't fix" situation. |
Let's keep an eye on this: chronotope/chrono#199 |
FYI Chrono now supports localisation (chronotope/chrono#453) We still have to get LC_TIME ourselves though. Or add another option to the time block to specify the locale. |
https://crates.io/crates/locale_config maybe this could be useful? |
Resolves greshake#73 via config option. TODO - retrieve LC_TIME via env var or from the output of `locale` - refactor code - deserialisation support for Locale
Resolves greshake#73 via a new config option. TODO retrieve LC_TIME from env var or from the output of locale refactor code deserialisation support for Locale
Resolves greshake#73 via a new config option. TODO retrieve LC_TIME from env var or from the output of locale refactor code deserialisation support for Locale
@oschoudhury This should be fixed in #863. For now you'll have to manually specify your locale in the config but in the future it could be made to retrieve your system LC_TIME by default. |
Resolves greshake#73 via a new config option. TODO retrieve LC_TIME from env var or from the output of locale refactor code deserialisation support for Locale
Resolves greshake#73 via a new config option. TODO retrieve LC_TIME from env var or from the output of locale refactor code deserialisation support for Locale
I use a different time locale with setting
LC_TIME
in/etc/locale.conf
. The status bar is ignoring this and showing the day of the week and the name of the month (%A
and%B
options) in English while the same formatting options in my terminal does not show it in English.I looked at your code, but as I am not that familiar with Rust, I cannot tell if the problem is in your code or if the problem is upstream in that
chrono
does not provide this option. If the latter is the case, please excuse for me raising the problem here and feel free to close it.The text was updated successfully, but these errors were encountered: