New Message: RFC: date.timeZoneToString
David A. Bayly
dbayly at udena.ch
Tue Oct 30 10:16:17 PST 2001
One solution is at <http://www.timezoneconverter.com/>
There must be a standard for this, I tried iso without issue,
google searches on timezone, international date line, international
time zone.The last yielded
<http://sunland.gsfc.nasa.gov/info/tar/Timezone_item.html>
Nothing definitive there
At 17:57 +0000 01/10/30, webmaster at userland.com wrote:
>A new message was posted:
>
>Address: http://frontier.userland.com/discuss/msgReader$9049
>
>By: Dave Winer (dave at userland.com)
>
>OK, it's time to write a verb that returns an English string for a timezone.
>
>It's fairly easy to write, and for the US and some parts of Europe,
>I actually know what to return.
>
>But here's a vexing question -- what to call the timezones where the
>does not appear to be a canonical name for the timezone.
>
>So I thought I'd ask for suggestions publicly, since we're a fairly
>international group, I thought people might be able to help.
>
>***Docs
>
>Here's the provisional DocServer page for the verb.
>
>xxx
>
>***Code
>
>Here's the crucial bit of code.
>
>adrtable^.["-12"] = "Date Line"
>adrtable^.["-11"] = "Samoa"
>adrtable^.["-10"] = "Hawaii"
>adrtable^.["-9"] = "Alaska"
>adrtable^.["-8"] = "Pacific"
>adrtable^.["-7"] = "Mountain"
>adrtable^.["-6"] = "Central"
>adrtable^.["-5"] = "Eastern"
>adrtable^.["-4"] = "Atlantic"
>adrtable^.["-3.5"] = "Newfoundland"
>adrtable^.["-3"] = "Brasilia, Buenos Aires"
>adrtable^.["-2"] = "Mid-Atlantic"
>adrtable^.["-1"] = "Azores"
>adrtable^.["0"] = "Greenwich"
>adrtable^.["1"] = "Central Europe"
>adrtable^.["2"] = "Finland, Israel, South Africa"
>adrtable^.["3"] = "Russia-Saudi Arabia"
>adrtable^.["3.5"] = "Iran"
>adrtable^.["4"] = "Arabian Peninsula"
>adrtable^.["5"] = "West Asia"
>adrtable^.["5.5"] = "India"
>adrtable^.["6"] = "Central Asia"
>adrtable^.["7"] = "Bangkok-Hanoi-Jakarta"
>adrtable^.["8"] = "China-Western Australia"
>adrtable^.["9"] = "Korea, Japan"
>adrtable^.["9.5"] = "Central Australia"
>adrtable^.["10"] = "Eastern Australia"
>adrtable^.["11"] = "Central Pacific"
>adrtable^.["12"] = "Fiji-New Zealand"
>
>***Question
>
>Do you know the name for any of the Asian and European time zones?
>
>Dave
>
>PS: Reminder to self: I've yet to account for Daylight Savings Time.
>
>This is a Manila site.. http://manila.userland.com/.
--
- David Bayly. Programmer and digest reader. dbayly at udena dot ch
Digest Readers do it once a day.
More information about the Frontier-Server
mailing list