fclp / fluent-command-line-parser

A simple, strongly typed .NET C# command line parser library using a fluent easy to use interface
Other
530 stars 86 forks source link

DateTime parsing problem #48

Closed kdelmonte closed 6 years ago

kdelmonte commented 9 years ago

I am getting the following error when passing a valid datetime to a datetime argument:

 my.exe --start-date "03/06/2014 10:00:00 AM" --end-date "03/06/2014 10:01:00 AM" 
Option '--start-date' parse error: could not parse '03/06/2014 10:00:00 AM' to 'System.DateTime'.
Option '--end-date' parse error: could not parse '03/06/2014 10:01:00 AM' to 'System.DateTime'.
==> \n use --help to see the manual
siywilliams commented 9 years ago

Thanks, I'm looking into a solution.