Any daylight saving time issues lately?

Any daylight saving time issues lately?

am 14.03.2007 02:12:49 von wazoo

(apologies for xpost)

I support a large Perl app. The IT guys are complaining that there is
some vague problem with things being an hour off. I'm still waiting for
more details ... meanwhile are there any known Perl or CPAN issues with
the recent daylight savings time change?

Re: Any daylight saving time issues lately?

am 14.03.2007 06:17:43 von Keith Keller

On 2007-03-14, Wazoo wrote:
> (apologies for xpost)

If it were actually a crosspost that'd have been okay, but it was
a multipost instead. Please don't do that!

> I support a large Perl app. The IT guys are complaining that there is
> some vague problem with things being an hour off. I'm still waiting for
> more details ... meanwhile are there any known Perl or CPAN issues with
> the recent daylight savings time change?

Any long-running app that reads in timezone configuration at startup, then
does not reread it in, is subject to potential problems. I would suspect
any daemons that have not restarted since the changeover. (If you
run mod_perl, for example, and the httpd's are still running, you may
see some issues.)

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

Re: Any daylight saving time issues lately?

am 14.03.2007 21:31:02 von Big and Blue

Keith Keller wrote:
>
> Any long-running app that reads in timezone configuration at startup, then
> does not reread it in, is subject to potential problems. I would suspect
> any daemons that have not restarted since the changeover. (If you
> run mod_perl, for example, and the httpd's are still running, you may
> see some issues.)

This would only be the case if the timezone files had been updated since
the process started (ie: someone applied a patch lately). If they were
right at the start then a switch to/from shouldn't affect things (and if it
does it *shouldn't*).


--
Just because I've written it doesn't mean that
either you or I have to believe it.

Re: Any daylight saving time issues lately?

am 14.03.2007 23:35:33 von wazoo

In article ,
Wazoo wrote:

> (apologies for xpost)
>
> I support a large Perl app. The IT guys are complaining that there is
> some vague problem with things being an hour off. I'm still waiting for
> more details ... meanwhile are there any known Perl or CPAN issues with
> the recent daylight savings time change?

For anyone else who has this problem ... here's the solution.

http://www.perlmonks.org/?node_id=593399

Turns out that if your code uses DateTime, you need a new timezone file.