Default time zone setting

From: Ken Smith <kensmith_at_cse.Buffalo.EDU>
Date: Wed, 9 Jun 2004 07:50:36 -0400
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_at_ 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
_at__at_ -70,7 +70,7 _at__at_

 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 |
Received on Wed Jun 09 2004 - 09:50:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC