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 fix for #48 #49

Closed rdcarp closed 9 years ago

rdcarp commented 9 years ago

DateTime args that are provided with a spaces have their ParsedOption.Value surrounded in quotes, causesing .NET's DateTime parsing to fail.

Proposed fix is to simply trim the quotes when parsing to generate expected values.

siywilliams commented 9 years ago

+1