-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot show UNIX epoch with -when 0
#71
Comments
If we add support for RFC3339 dates, we're opening the door to many many more human friendly (and non-human friendly) representations too. Like Relying on established tools like
|
Okay, but hopefully you will reconsider the latter. ISO 8601 / RFC 3339 are standard and common, not random, and it would be good for |
Currently
tz -when 0
will show the current (real) time instead of the UNIX epoch 0. This is a counter-intuitive and unfortunate. It would be good if-when 0
works the same way as-when 1
and-when -1
. It would also be nice if ISO 8601/RFC 3339 date-times could be parsed, as this meanstz
would become quite versatile for developers to see and convert between seconds and timestamps.The text was updated successfully, but these errors were encountered: