RE: Locale codes (WAS: RE: RTF language codes)

From: Carl W. Brown (cbrown@xnetinc.com)
Date: Fri Jul 27 2001 - 12:53:58 EDT


Christopher,

There are no standards for the three letter time zones. AST is Alaska
Standard Time and Atlantic Standard Time. MST is Moscow Summer Time. It is
also Phoenix which has no daylight savings time as well as Mountain Standard
time.

I build a table of explicit time zones to 3 or 4 letter codes and had lots
of duplicates. It was to build a TZ= string. As you might note functions
using the TZ= string ignore these codes when calculation time zone offsets
or daylight time because they are useless.

I use the data from ICU which comes from the Olson source at
ftp://elsie.nci.nih.gov/pub/ Get the tzdata..... file.

Carl

> -----Original Message-----
> From: Christopher John Fynn [mailto:cfynn@gmx.net]
> Sent: Friday, July 27, 2001 4:11 AM
> To: unicode@unicode.org
> Cc: Carl W. Brown
> Subject: RE: Locale codes (WAS: RE: RTF language codes)
>
>
> Carl W. Brown
>
>
> > I will go one step further and suggest that time zone is also a
> > part of the
> > locale. Thus you might want to extend the POSIX standard to
> include time
> > zone for example: "fr_FR.iso-8859-15@EURO#Europe/Paris" or
> > "en_US.utf-8#America/Los_Angeles".
>
> Wouldn't you want to use (3 letter?) codes for the time zones
> rather than the English names of cities? The continent names
> seem redundant - a country code in that place might be more useful.
>
>
> - Chris



This archive was generated by hypermail 2.1.2 : Fri Jul 27 2001 - 14:00:58 EDT