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

option to print file mod times in UTC rather than local time #136

Closed
richardlehane opened this issue Jan 13, 2020 · 2 comments
Closed

option to print file mod times in UTC rather than local time #136

richardlehane opened this issue Jan 13, 2020 · 2 comments
Assignees
Milestone

Comments

@richardlehane
Copy link
Owner

Currently sf uses local time with RFC3339 "2006-01-02T15:04:05Z07:00" for printing file modified times.

Request to print those times in UTC time instead: https://twitter.com/despens/status/1216714415527120898

This may be thru a -utc flag in sf

@richardlehane richardlehane added this to the 1.8 milestone Jan 13, 2020
@richardlehane richardlehane self-assigned this Jan 13, 2020
@richardlehane
Copy link
Owner Author

OK, this is implemented now on develop branch.

Normal behaviour for file modified is: 2018-04-17T21:47:18+02:00
With new -utc flag you get: 2018-04-17T19:47:18Z

Hope that's what is expected?

@richardlehane
Copy link
Owner Author

sf 1.8.0 has a new -utc flag for this. If you want this for default behaviour add that to your conf (with sf -utc -setconf)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant