[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 21/178: parsedate: support UT timezone
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 21/178: parsedate: support UT timezone |
Date: |
Wed, 23 May 2018 12:24:16 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit ea233e5b4b3a3a3ca1d2d92c7d686c3a7341eaee
Author: Nikos Tsipinakis <address@hidden>
AuthorDate: Mon Mar 19 15:42:36 2018 +0200
parsedate: support UT timezone
RFC822 section 5.2 mentions Universal Time, 'UT', to be synonymous with
GMT.
Closes #2401
---
lib/parsedate.c | 1 +
tests/libtest/lib517.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/parsedate.c b/lib/parsedate.c
index aa27303fc..3d3c00b4f 100644
--- a/lib/parsedate.c
+++ b/lib/parsedate.c
@@ -119,6 +119,7 @@ static int parsedate(const char *date, time_t *output);
#define tDAYZONE -60 /* offset for daylight savings time */
static const struct tzinfo tz[]= {
{"GMT", 0}, /* Greenwich Mean */
+ {"UT", 0}, /* Universal Time */
{"UTC", 0}, /* Universal (Coordinated) */
{"WET", 0}, /* Western European */
{"BST", 0 tDAYZONE}, /* British Summer */
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 },
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 05/178: user-agent.d:: mention --proxy-header as well, (continued)
- [GNUnet-SVN] [gnurl] 05/178: user-agent.d:: mention --proxy-header as well, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 07/178: RELEASE-NOTES: toward 7.60.0, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 02/178: SECURITY-PROCESS: mention how we write/add advisories, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 04/178: transfer: make HTTP without headers count correct body size, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 03/178: test1208: marked flaky, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 19/178: cmake: add support for brotli, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 16/178: resolve: add CURLOPT_DNS_SHUFFLE_ADDRESSES, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 09/178: rate-limit: use three second window to better handle high speeds, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 27/178: cookie.d: mention that "-" as filename means stdin, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 18/178: darwinssl: fix iOS build, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 21/178: parsedate: support UT timezone,
gnunet <=
- [GNUnet-SVN] [gnurl] 11/178: pause: when changing pause state, update socket state, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 13/178: curl_version_info.3: fix ssl_version description, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 31/178: http2: read pending frames (including GOAWAY) in connection-check, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 15/178: add_handle/easy_perform: clear errorbuffer on start if set, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 28/178: TODO: expand ~/ in config files, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 32/178: timeval: remove compilation warning by casting (#2417), gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 23/178: vauth/ntlm.h: fix the #ifdef header guard, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 08/178: cleanup: misc typos in strings and comments, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 29/178: CURLINFO_SSL_VERIFYRESULT.3: fix the example, add some text, gnunet, 2018/05/23
- [GNUnet-SVN] [gnurl] 38/178: runtests.pl: fix warning 'use of uninitialized value', gnunet, 2018/05/23