Click here to get back home

Any daylight saving time issues lately?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Any daylight saving time issues lately? Wazoo 03-13-2007
Posted by Wazoo on March 13, 2007, 9:12 pm
Please log in for more thread options


(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?

Posted by Keith Keller on March 14, 2007, 1:17 am
Please log in for more thread options


> (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


Posted by Big and Blue on March 14, 2007, 4:31 pm
Please log in for more thread options


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.

Posted by Wazoo on March 14, 2007, 6:35 pm
Please log in for more thread options



> (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.

Similar ThreadsPosted
Loading (from Internet), resizing and saving images March 22, 2005, 6:15 am
Tie::Persistent issues May 11, 2005, 10:11 am
ISpell Issues January 22, 2006, 4:54 pm
DBD::Oracle issues January 23, 2007, 7:16 pm
ASE 12.5 UTF-8 issues with Sybase::DBLib April 5, 2006, 5:05 am
CPAN install issues February 21, 2007, 6:48 pm
Net::SNMP snmpv3 inform issues May 17, 2005, 10:18 am
Apache::Request installation issues March 1, 2005, 9:00 am
Installing mod-perl on Tiger (OSX) issues May 31, 2006, 12:06 am
Install ing GD Active Perl issues July 25, 2006, 1:55 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap