Skip to content

Cannot show UNIX epoch with -when 0 #71

@jnd-au

Description

@jnd-au

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 means tz would become quite versatile for developers to see and convert between seconds and timestamps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions