projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208b95e
)
Add a test for the new format, e.g., May-23-2003.
author
Jim Meyering
<jim@meyering.net>
Tue, 10 Jun 2003 06:37:03 +0000
(06:37 +0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 10 Jun 2003 06:37:03 +0000
(06:37 +0000)
tests/date/Test.pm
patch
|
blob
|
history
diff --git
a/tests/date/Test.pm
b/tests/date/Test.pm
index
e6df464
..
4b3774a
100644
(file)
--- a/
tests/date/Test.pm
+++ b/
tests/date/Test.pm
@@
-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...
);