diff options
Diffstat (limited to 'src/fax.cs')
-rwxr-xr-x | src/fax.cs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -267,10 +267,10 @@ namespace gfax { hq.Sender = ""; if ( sa[3].Length != 0 ) { - try { - hq.TimeReceived = (DateTime)System.DateTime.ParseExact(sa[3], "ddMMMyy", System.Globalization.CultureInfo.InvariantCulture); + try { + hq.TimeReceived = (DateTime)System.DateTime.ParseExact(sa[3].Trim(), "yyyy:MM:dd HH:mm:ss", System.Globalization.CultureInfo.InvariantCulture); } - catch(FormatException e ) + catch(FormatException e) { hq.TimeReceived = null; } |