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

exa does not respect host timezone information #54

Closed
jonhoo opened this issue Mar 22, 2015 · 6 comments
Closed

exa does not respect host timezone information #54

jonhoo opened this issue Mar 22, 2015 · 6 comments
Assignees

Comments

@jonhoo
Copy link
Contributor

jonhoo commented Mar 22, 2015

$ touch testfile
$ ls -l
total 0
-rw-r--r-- 1 jon users 0 Mar 22 17:40 testfile
$ exa -l
.rw-r--r--  0 jon 22 Mar 21:40 testfile

Since I'm currently at UTC-4, my guess is that the modification time is printed as UTC time, not local time.

@ogham ogham self-assigned this May 3, 2015
@ogham
Copy link
Owner

ogham commented May 6, 2015

I want to fix this ASAP

@ogham ogham closed this as completed in cc1d6aa Jun 4, 2015
@ogham
Copy link
Owner

ogham commented Jun 4, 2015

Okay, that wasn't exactly ASAP, but this should now work! Could you please give it a try, and see if it's now getting your timezones correct?

It works by reading and parsing /etc/localtime.

@jonhoo
Copy link
Contributor Author

jonhoo commented Jun 4, 2015

Yup, looks like it's working correctly now. Thanks for the fix!

@vurtune
Copy link

vurtune commented May 20, 2021

I have the same problem in Termux (Android).
20210520_123651

@ariasuni
Copy link
Collaborator

Note that #867 should fix this.

@vurtune
Copy link

vurtune commented May 20, 2021

Thank you 😊

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

4 participants