API Design Questions (4)

Max Kanat-Alexander mkanat at bugzilla.org
Fri Oct 2 23:36:17 UTC 2009

On 10/02/2009 04:28 PM, Max Kanat-Alexander wrote:
>> What time was it UTC on 2005-10-30 01:50 America/Los Angeles?
>> You need to know that the DST rules were different for the US back then,
>> and the date of change was different, and that they change at 2am, etc.
>> etc.
> 	In Perl, DateTime.pm does this for you. I suspect there are similar
> modules available for other languages. Technically all of this info is
> available in the zoneinfo database, also.

	By the way, you need to know this information anyway in order to
correctly parse/convert *any* date/time. The Olsen timezone format just
makes it possible to actually do so.

Competent, Friendly Bugzilla and Perl Services. Everything Else, too.

More information about the developers mailing list