Skip to content

ti-ka/human-date-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human Date Parser

Parser human readable dates to System.DateTime. Based on TimeStamper and updated to work with Asp.Net Core/.NET Framwork.

Nuget Package Manager:

Install-Package HumanDateParser -Version 1.1.0

Dotnet CLI:

dotnet add package HumanDateParser --version 1.1.0

Usage:

DateParser.Parse("1 month ago")
DateParser.Parse("after 15 days")
DateParser.Parse("15th feb 2010 at 5:30pm")

Contribute:

Please add more unit tests create a pull request.