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.
Years parsing seems a bit weird: while this works
TimeSpanParser.Parse("0 years"), neitherTimeSpanParser.Parse("1 years")norTimeSpanParser.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.