Dave Rolsky wrote:
The other would be to change the local time (in effect shifting the UTC
time).

Store in UTC (always). If they shift the rug underneath the object, apply the net offset to the UTC time and store the new TZ.

Think of it this way:

my $buffy = new ...; # Washington, DC @ 8pm

$dt->set( time_zone => 'America/Denver' ); # Boulder, CO @ 6pm

It's an operation, not just a flag.

IMNSHO ;~)

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747

Reply via email to