diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-12-01 07:48:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-12-01 07:48:16 +0000 |
commit | 2851aca44832a918020e5721360fbe63c1ca2508 (patch) | |
tree | bd6265bf0bb48057ddf2b85dcf5cb80e3af56994 | |
parent | 0cfe4e5b57c881dfa075d7e0452b48dfa63d619c (diff) | |
download | fetchmail-2851aca44832a918020e5721360fbe63c1ca2508.tar.gz fetchmail-2851aca44832a918020e5721360fbe63c1ca2508.tar.bz2 fetchmail-2851aca44832a918020e5721360fbe63c1ca2508.zip |
UTC > GMT.
svn path=/trunk/; revision=2247
-rw-r--r-- | env.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -116,7 +116,7 @@ char *rfc822timestamp(void) time(&now); #ifdef HAVE_STRFTIME /* - * Conform to RFC822. GMT rather than local time because of the + * Conform to RFC822. UTC rather than local time because of the * mess that %Z generates obsolete 822 syntax but %z is not * guaranteed portable. We generate a 4-digit year here, avoiding * Y2K hassles. Max length of this timestamp in an English locale @@ -124,7 +124,8 @@ char *rfc822timestamp(void) * are the day and month abbreviations. */ strftime(buf, sizeof(buf)-1, - "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now)); + "%a, %d %b %Y %H:%M:%S +0000 (UTC)", + gmtime(&now)); #else /* * This is really just a portability fallback, as the |