summaryrefslogtreecommitdiff
path: root/time/tst-strptime.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-10-25 19:04:47 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-10-25 19:05:24 +0200
commitddc7e412ab252e7360a4357664beb3b5d9c4f42b (patch)
tree9e407ff2bbd78edb2bb1c59298d45636f123b3c2 /time/tst-strptime.c
parentca42d35ea1a4b69b11a3b9a3e3bd1390470d188f (diff)
Make strptime %Z consistent between doc and code. Fixes bug 14876
Diffstat (limited to 'time/tst-strptime.c')
-rw-r--r--time/tst-strptime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time/tst-strptime.c b/time/tst-strptime.c
index 21fbb63648..193f7dbe0e 100644
--- a/time/tst-strptime.c
+++ b/time/tst-strptime.c
@@ -41,6 +41,7 @@ static const struct
{ "C", "19990502123412", "%Y%m%d%H%M%S", 0, 121, 4, 2 },
{ "C", "2001 20 Mon", "%Y %U %a", 1, 140, 4, 21 },
{ "C", "2001 21 Mon", "%Y %W %a", 1, 140, 4, 21 },
+ { "C", "2001 EST 21 Mon", "%Y %Z %W %a", 1, 140, 4, 21 },
{ "C", "2012 00 Sun", "%Y %W %a", 0, 0, 0, 1 },
{ "ja_JP.EUC-JP", "2000-01-01 08:12:21 AM", "%Y-%m-%d %I:%M:%S %p",
6, 0, 0, 1 },