I'm having some issues with DateTime and DateTime::Timezone. When creating a timezone object with the timezone of Europe/London it doesn't seem to think we're in DST, but we are, as of 1am this morning. Anything else I've tried to do with it seems fine (the offsets are correct for each zone), but that's throwing all my stuff out by and hour (I'm just called is_dst to check whether we are or not and it's returning 0).
This makes me think .. should there be a way to 'force' a DST change? For example:
$dst_on = DateTime->new([1am this morning]);
$dt = DateTime->new(year=>xxxx, month=>xx, day=>xx, timezone=>'Europe/London', dst_on=>$dst_on, dst_off=>$dst_off);
Cheers! Rick
--
--------------------------------------------------------
There are 10 kinds of people:
those that understand binary, and those that don't.
--------------------------------------------------------
The day Microsoft makes something that doesn't suck
is the day they start selling vacuum cleaners
--------------------------------------------------------
"Write a wise proverb and your name will live forever."
-- Anonymous
--------------------------------------------------------
