Re: How to Compute Hours In a Day?

2008-10-20 Thread Zefram
[EMAIL PROTECTED] wrote: >    C:\>perl oddhours.pl 2007 >    2007-12-09  24.5  America/Caracas >    2007-03-11  22    America/Indiana/Winamac >    2007-03-25  24.5  Australia/Lord_Howe >    2007-10-28  23.5  Australia/Lord_Howe Interesting, Australia/Lord_Howe does a half-hour DST shift every year

Re: How to Compute Hours In a Day?

2008-10-20 Thread Eugene van der Pijll
[EMAIL PROTECTED] schreef: > Here's my first shot at a script. It combines Zefram's suggestion to > use $dt->epoch() and Eugene's recommendation to measure the intervals > at noon instead of at midnight. Next, I'd like to refactor it > using...um...I'm not sure, but something other than $dt->epoch(

Mea Culpa

2008-10-20 Thread Simon Wistow
I just released a module called Net::Gnip to CPAN and it accidentally contained an inner package called DateTime::Format::XML which parses http://www.w3.org/TR/xmlschema-2/#dateTime style dates using DateTime::Format::8601 and formats them using a strftime. Unfortunately PAUSE appears to have

Re: How to Compute Hours In a Day?

2008-10-20 Thread jim . monty
Eugene van der pijll wrote: >Jim Monty schreef: >> I want to iterate the time zones of the world to generate a report of >> all days that aren't exactly 24 hours. I want to handle >> America/Caracas and America/Sao_Paulo correctly. You mentioned >> 2007-12-09 was 24.5 hours long in Venezuela. This