-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Exa does not read the TZ
environment variable, but it is a standard way to convey timezone data on musl
#453
Comments
I checked the code and exa does not read the TZ environment variable. Instead it tries to get the timezone from This would be a very localized change in |
TZ
environment variable, but it is a standard way to convey timezone data on musl
Note: on termux (the android terminal emulator), by default neither $TZ nor /etc/localtime are available. |
I've come across this issue also. Happy to test solutions if someone can walk me through it. I only use termux to play around on so i'm not worried about breaking it. |
Creating a
It worked for me. |
The bug is about reading the TZ environment variable, not about parsing |
I've created a pull request that will have exa first check the Termux on Android still poses a problem since timezone data is instead stored in one large file: |
On musl, the way to set the timezone is by having a TZ environment variable.
See its documentation for reference.
Currently, when running
exa -l
, the following output appears on such a system:Note that
date
(both GNU and busybox implementation) output the correct time information with no warnings:The text was updated successfully, but these errors were encountered: