Default time zone setting
Ken Smith
kensmith at cse.Buffalo.EDU
Wed Jun 9 11:50:37 GMT 2004
This wound up being discussed a bit on the cvs-all mailing list
and the general concensus there seemd to be that the system's
default time zone would be more "politically correct" if it were
UTC instead of GMT. Garrett directed me to standards@ and so far
there have been no complaints there. Garrett himself didn't object
to it either.
So, I'll let this simmer a few more days in case someone has any
objections. If nobody speaks up I'll commit this, which seems to
be sufficent to change the default Time Zone to UTC instead of GMT.
I'm a bit surprised this is all there is to it but I have a machine
running with this patch and it seems to be working right. If anyone
knows of any landmines I'm missing let me know please.
[ Thoughts about whether it's worth the effort to more or less replace
all occurences of "gmt" or "GMT" in that file with "utc" and "UTC" are
welcome but straight to me please, no sense discussing that on list. ]
Index: lib/libc/stdtime/localtime.c
===================================================================
RCS file: /home/ncvs/src/lib/libc/stdtime/localtime.c,v
retrieving revision 1.36
diff -u -r1.36 localtime.c
--- lib/libc/stdtime/localtime.c 16 Feb 2003 17:29:11 -0000 1.36
+++ lib/libc/stdtime/localtime.c 8 Jun 2004 04:49:30 -0000
@@ -70,7 +70,7 @@
static char wildabbr[] = "WILDABBR";
-static const char gmt[] = "GMT";
+static const char gmt[] = "UTC";
struct ttinfo { /* time type information */
long tt_gmtoff; /* GMT offset in seconds */
--
Ken Smith
- From there to here, from here to | kensmith at cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
More information about the freebsd-current
mailing list