Skip to content

Issue with years parsing #7

Description

@lawrence-laz

Years parsing seems a bit weird: while this works TimeSpanParser.Parse("0 years"), neither TimeSpanParser.Parse("1 years") nor TimeSpanParser.Parse("1 year") work.
Any ideas why this happens?

EDIT: Just noticed this in the readme: ". . . Other values for years/months are not currently accepted". Would be nice to have 1 year just equal 365 days or something in scenarios where leap year is not that important.

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