NaturalTimeParser icon indicating copy to clipboard operation
NaturalTimeParser copied to clipboard

A partial C# implementation of natural time formats like "last month +3 days" which can be used in date arithmetic.

Results 8 NaturalTimeParser issues
Sort by recently updated
recently updated
newest added

Test Name: Formatter_BuildsExpectedOutput("{Date:|10 years 2 months 3 days}") Test FullName: Pathoschild.NaturalTimeParser.Tests.Extensions.SmartFormattingTests.Formatter_BuildsExpectedOutput("{Date:|10 years 2 months 3 days}") Test Source: c:\github\ramiabughazaleh\NaturalTimeParser\Tests\Extensions\SmartFormattingTests.cs : line 43 Test Outcome: Failed Test Duration: 0:00:00.034 Result Message:...

Thank you for NaturalTimeParser 0.2.0.0. I would like to be able to use "and" instead of the "+" plus sign when describing a specific date/time. For example, "1 year ago...

I'd like to request being able to parse "1 year from today". For example, if today's UTC date is "2017-01-21", then "1 year from todayutc" will result in "2018-01-21 12:00:00...

I'd like TimeParser to support parsing spelled out numerals. For example, "two years ago" should be parsed the same as "2 years ago". Thank you.

I would like to consolidate the "now", "nowutc", "today", and "todayutc" tokens to just "now" and "today". The expected type of DateTime can be passed in the constructor of the...

I would like to be able to use "in 1 day" like "1 day". Basically, "in" should be ignored. Thank you.

I would like to be able to use "tomorrow" instead of "1 day" and "yesterday" instead of "1 day ago". Thank you.