diff options
author | Martin Szulecki | 2009-03-20 11:00:59 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-03-20 11:00:59 +0100 |
commit | 2f09cc7cd6c86ece05864055eca4ddfd78c03179 (patch) | |
tree | 0f313ff11a4cbc7b0161c643bd6dc13b45ff3bea /src/fax.cs | |
parent | 4e57bfa0652a3c4eb42c79ddbe7a1d00b4aea79c (diff) | |
download | gfax-master.tar.gz gfax-master.tar.bz2 |
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; } |