Skip to content

Support for 64 bit timestamps #122

@toddgaunt

Description

@toddgaunt

I'd like to be able to use signed 64 bit unix timestamps but unfortunately this tool only supports 32 bit timestamps which means the maximum allowed timestamp is 2147483647 or 03:14:07 January 19th 2038.

This tool would be more useful if it defaulted to 64 bit signed timestamps to allow timestamps further in the future, and to support timestamps in the past represented by negative values. Additionally it would be good to improve error handling if the integer value provided overflows. Currently it simply overflows the year to 1970.

If this seems like a desirable feature to any maintainers of this project, I'd be happy to develop it and submit a PR to make the change.

Screenshot of the maximum supported value:

Image

And then after pressing '+' the value overflows to the epoch year:

Image

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