summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/date/Test.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/date/Test.pm b/tests/date/Test.pm
index 8d8375ace..ca20c7ab2 100644
--- a/tests/date/Test.pm
+++ b/tests/date/Test.pm
@@ -118,6 +118,9 @@ sub test_vector
['datevtime-1', "-d 000909 $fmt", {}, "2000-09-09 00:00:00", 0],
+ # test for RFC-822 conformance
+ ['rfc822-1', "-R -d '$d1'", {}, "Sun, 19 Jan 1997 09:17:48 +0100", 0],
+
# FIXME: add a lot more...
);
@@ -142,6 +145,8 @@ sub test_vector
$Test::env{'date2sec-0'} = ['TZ=UTC+2'];
+ $Test::env{'rfc822-1'} = ['LC_ALL=de_DE'];
+
return @tv;
}