aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib517.c
diff options
context:
space:
mode:
authorNikos Tsipinakis <nikos@tsipinakis.com>2018-03-19 15:42:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-03-19 19:22:42 +0100
commitea233e5b4b3a3a3ca1d2d92c7d686c3a7341eaee (patch)
tree09ad4b99d5e9cb850f4cdef8dba32f6a4db49dc9 /tests/libtest/lib517.c
parentbb790ca3a5872ba53be1e9c719510260baac7f45 (diff)
parsedate: support UT timezone
RFC822 section 5.2 mentions Universal Time, 'UT', to be synonymous with GMT. Closes #2401
Diffstat (limited to 'tests/libtest/lib517.c')
-rw-r--r--tests/libtest/lib517.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/libtest/lib517.c b/tests/libtest/lib517.c
index e7451907c..2f7d9a011 100644
--- a/tests/libtest/lib517.c
+++ b/tests/libtest/lib517.c
@@ -47,6 +47,7 @@ static struct dcheck dates[] = {
{"Sun/Nov/6/94/GMT", 784080000 },
{"Sun, 06 Nov 1994 08:49:37 CET", 784108177 },
{"06 Nov 1994 08:49:37 EST", 784129777 },
+ {"Sun, 06 Nov 1994 08:49:37 UT", 784111777 },
{"Sun, 12 Sep 2004 15:05:58 -0700", 1095026758 },
{"Sat, 11 Sep 2004 21:32:11 +0200", 1094931131 },
{"20040912 15:05:58 -0700", 1095026758 },