Date: Sun, 1 Dec 1996 14:08:38 -0500 From: Garrett Wollman <wollman@lcs.mit.edu> To: Greg Lehey <grog@lemis.de> Cc: FreeBSD-current@FreeBSD.ORG (FreeBSD current users) Subject: Re: Call for national time locales Message-ID: <9612011908.AA12449@halloran-eldar.lcs.mit.edu> In-Reply-To: <199611300737.IAA20315@freebie.lemis.de> References: <199611292349.AAA27861@uriah.heep.sax.de> <199611300737.IAA20315@freebie.lemis.de>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sat, 30 Nov 1996 08:37:37 +0100 (MET), Greg Lehey <grog@lemis.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9612011908.AA12449>