From owner-freebsd-current@FreeBSD.ORG Wed Jun 9 11:50:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CC0F16A4CE for ; Wed, 9 Jun 2004 11:50:37 +0000 (GMT) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0274643D41 for ; Wed, 9 Jun 2004 11:50:37 +0000 (GMT) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i59Boa2n005511 for ; Wed, 9 Jun 2004 07:50:36 -0400 (EDT) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i59Boano005510 for freebsd-current@freebsd.org; Wed, 9 Jun 2004 07:50:36 -0400 (EDT) Date: Wed, 9 Jun 2004 07:50:36 -0400 From: Ken Smith To: freebsd-current@freebsd.org Message-ID: <20040609115036.GD3046@electra.cse.Buffalo.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Default time zone setting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 11:50:37 -0000 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@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel |