From owner-freebsd-current Sun Dec 1 11:08:45 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA26331 for current-outgoing; Sun, 1 Dec 1996 11:08:45 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA26326 for ; Sun, 1 Dec 1996 11:08:42 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA12449; Sun, 1 Dec 1996 14:08:38 -0500 Date: Sun, 1 Dec 1996 14:08:38 -0500 From: Garrett Wollman Message-Id: <9612011908.AA12449@halloran-eldar.lcs.mit.edu> To: Greg Lehey Cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) Subject: Re: Call for national time locales In-Reply-To: <199611300737.IAA20315@freebie.lemis.de> References: <199611292349.AAA27861@uriah.heep.sax.de> <199611300737.IAA20315@freebie.lemis.de> Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk < said: > On that subject, let me come back to harp on time zone names. If the > days of the week are in German, why is the time zone this deprecated > MET thing? Should be MEZ. Then you can do write the code to perform the translation (language, data file abbreviation) -> national language abbreviation. It's really not that difficult; all you need is to have a text file for each locale containing the pairs (data file abbreviation, national language abbreviation) and then do the appropriate lookup. I'm not sure whether it would be appropriate to do it for all calls to localtime() or just in strftime's %Z (with perhaps the translation suppressed for %EZ or %OZ). -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick