Add a test for the new format, e.g., May-23-2003.
authorJim Meyering <jim@meyering.net>
Tue, 10 Jun 2003 06:37:03 +0000 (06:37 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 10 Jun 2003 06:37:03 +0000 (06:37 +0000)
tests/date/Test.pm

index e6df464..4b3774a 100644 (file)
@@ -142,6 +142,8 @@ sub test_vector
      # due to a bug in strftime.c.
      ['wide-fmt', "-d '1999-06-01' +%3004Y", {}, '0' x 3000 . '1999', 0],
 
+     # Ensure that we can parse MONTHNAME-DAY-YEAR.
+     ['moname-d-y', '--iso -d May-23-2003', {}, '2003-05-23', 0],
      # FIXME: add a lot more...
      );