Skip to content

Negative numbers for @ are not being recognized #40

Closed
@philolo1

Description

@philolo1

While "@0" and "@positive" integer work, "@-1" does not work.

On GNU date it returns the time in seconds before JAN 01 1970.

For example:

"date -d '@-1'"     
Thu Jan  1 08:59:59 JST 1970
"date -d '@-1000000'"           
Sat Dec 20 19:13:20 JST 1969

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions