Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Commit

Permalink
Allow for Excel's ridiculous date formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dcs619 committed Jan 16, 2018
1 parent 0401936 commit bb6f919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Excavator.Utility/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public static bool IsEmail( this string email )
{
DateTime parsed;
var dateFormats = new[] { "yyyy-MM-dd", "MM/dd/yyyy", "MM/dd/yy",
"M/d/yyyy", "M/dd/yyyy",
"M/d/yyyy", "M/dd/yyyy", "M/d/yy",
"M/d/yyyy h:mm:ss tt", "M/d/yyyy h:mm tt",
"MM/dd/yyyy hh:mm:ss", "M/d/yyyy h:mm:ss",
"M/d/yyyy hh:mm tt", "M/d/yyyy hh tt",
Expand Down

0 comments on commit bb6f919

Please sign in to comment.