[tz] Discussion in ECMA about tz identifiers in JavaScript [Scanned]

Goudge, Stephen stephen.goudge at petards.com
Tue Mar 5 09:55:41 UTC 2013

> As per an earlier suggestion I may have made, should we pick a bunch of numerical identifiers for all zones,
> make *those* the official zone IDs, leave the old names behind as aliases, and thus avoid having to worry about

For some years I've been running precisely that list, in a C enum, which is being used in an embedded environment (we store the numeric id in the embedded system's config which then writes it out into every data packet, along with a sensible UTC value; the desktop data display programs then display UTC and local time for wherever that embedded device happens to live).
This was mentioned in an email many years ago but didn't garner any interest so I've not publicised it much since.

However, it'd be really useful to me (!) if this list (and the enum, as example code) could become part of the tz distribution...

>>That discussion seems to be predicated on the assumption that tz zone 
>>names can and do "disappear", but they don't.  For example, we renamed 
>>Asia/Calcutta to Asia/Kolkata, but kept the old name as an alias for 
>>the new one.

>Have any tz id's ever disappeared in the past? 
>Even if they have, perhaps the tz project could guarantee that none will disappear in the future.
>--apb (Alan Barrett)

I think that there *was* one zone that appeared, was deemed to be a mistake a few weeks later and then disappeared again, within the last couple of years; I'll have to check my records when I get home to verify this, but I certainly recall my validation routines throwing up errors about this.


Stephen Goudge

   390 Princesway
   Team Valley
   Tyne & Wear
   NE11 0TU

   T   +44 (0) 191 420 3015
   F   +44 (0) 191 420 3030
   W  www.petards.com
This email has been sent from Petards Group plc or a member of the Petards group of companies. The information in this email is confidential and/or privileged. It is intended solely for the use of the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any review, dissemination, disclosure, alteration, printing, circulation or transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful.

Petards Group plc is registered in England & Wales. Company No.  2990100
Petards Limited is registered in England & Wales. Company No. 2301063
Petards Joyce-Loebl Limited is registered in England & Wales. Company No. 2170100

Registered Offices: 390 Princesway, Team Valley, Gateshead, Tyne & Wear NE11 0TU, UK.


This email has been scanned by Petards. The service is powered by Symantec MessageLabs Email AntiVirus.cloud

More information about the tz mailing list