Skip to content

"next x" and "last x" are not recognized #19

Closed
@cakebaker

Description

@cakebaker

GNU date recognizes "next x" and "last x", for example:

$ date --date="next month"
Fri Jul  7 11:44:46 AM CEST 2023
$ date --date="last month"
Sun May  7 11:44:52 AM CEST 2023

uutils date, using humantime_to_duration, doesn't recognize such dates and returns an "invalid date" error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions