about summary refs log tree commit homepage
path: root/t/msgtime.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-25 05:24:53 +0000
committerEric Wong <e@80x24.org>2019-11-27 01:49:51 +0000
commit754647b28663aae0e07b7a5307bcf8ecf91b1795 (patch)
tree0833f5bdeeb1f53e8d8e46fb3ff44923baf1c917 /t/msgtime.t
parent151521263f1f0b5ca008c22f71da186a5d706fe8 (diff)
downloadpublic-inbox-754647b28663aae0e07b7a5307bcf8ecf91b1795.tar.gz
Broken email clients sent the darndest things, make sure
we can still support them when we make Date::Parse optional.
Diffstat (limited to 't/msgtime.t')
-rw-r--r--t/msgtime.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/msgtime.t b/t/msgtime.t
index 7bf73185..f969fa25 100644
--- a/t/msgtime.t
+++ b/t/msgtime.t
@@ -88,5 +88,8 @@ is_datestamp('Thursday, 20 Feb 2003 01:14:34 +000', [1045703674, '+0000']);
 is_datestamp('Fri, 28 Jun 2002 12:54:40 -700', [1025294080, '-0700']);
 is_datestamp('Sat, 12 Jan 2002 12:52:57 -200', [1010847177, '-0200']);
 is_datestamp('Mon, 05 Nov 2001 10:36:16 -800', [1004985376, '-0800']);
-
+is_datestamp('Tue, 3 Jun 2003 8:58:23 --500', [1054648703, '-0500']);
+is_datestamp('Thu, 18 May 100 10:40:43 +0200 (MET DST)', [958639243, '+0200']);
+is_datestamp('Thu, 18 May 2000 10:40:43 +0200', [958639243, '+0200']);
+is_datestamp('Tue, 27 Feb 2007 16:23:25 -0060', [1172597005, '-0100']);
 done_testing();