summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkensmith <kensmith@FreeBSD.org>2004-06-11 03:34:02 +0000
committerkensmith <kensmith@FreeBSD.org>2004-06-11 03:34:02 +0000
commit975177ce245941e1ad1d89228fdb7c2ecd4c7dff (patch)
tree8d9fdc753f6cc7e09bd29a3017209f53b869b265
parentbe5dc242b6a2d2549e38e77baf82adb7b33b042b (diff)
downloadFreeBSD-src-975177ce245941e1ad1d89228fdb7c2ecd4c7dff.zip
FreeBSD-src-975177ce245941e1ad1d89228fdb7c2ecd4c7dff.tar.gz
Change defualt time zone from GMT to UTC. This will not be MFC-ed, and
was done before 5-STABLE on purpose...
-rw-r--r--lib/libc/stdtime/localtime.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/stdtime/localtime.c b/lib/libc/stdtime/localtime.c
index e5d9b37..fadb3ec 100644
--- a/lib/libc/stdtime/localtime.c
+++ b/lib/libc/stdtime/localtime.c
@@ -70,7 +70,12 @@ __FBSDID("$FreeBSD$");
static char wildabbr[] = "WILDABBR";
-static const char gmt[] = "GMT";
+/*
+ * In June 2004 it was decided UTC was a more appropriate default time
+ * zone than GMT.
+ */
+
+static const char gmt[] = "UTC";
struct ttinfo { /* time type information */
long tt_gmtoff; /* GMT offset in seconds */
OpenPOWER on IntegriCloud