Re: DateTime::Format::Duration tests failed: Found out why.

2007-07-01 Thread Rick Measham

Björn Tackmann wrote:
some days ago I wrote you an e-mail stating that some tests for 
DateTime::Format::Duration failed. Today, I spent some more time on 
looking for the reason. The good news is: your module does not seem to 
be flawed :)


hahah .. thanks Björn .. telling me that gave me the impetus to finally
get it fixed. However by the time I finished, I decided that it wasn't
all just bad tests.

For the first test, I'd agree that the test itself is incorrect:
# Test 41 -- the second day has 25 hours
['-00-00 48:00:00', '-00-01 23:00:00', 'DST ends, Day is 25
hours long'],

Should be:
['-00-00 48:00:00', '-00-01 24:00:00', 'DST ends, Day is 25
hours long'],

However going the rest I don't agree that it's just a case of fixing the
tests and so I've refactored the code.

Look for 1.03 on a CPAN mirror near you shortly.

Cheers!
Rick Measham














smime.p7s
Description: S/MIME Cryptographic Signature


Re: Geographical boundaries for the continental US tz zones (fwd)

2007-07-01 Thread Dave Rolsky

This might be of interest to folks on this list.

-- Forwarded message --
Date: Sun, 01 Jul 2007 10:07:11 -0700
From: Eric Muller [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Geographical boundaries for the continental US tz zones
Resent-Date: Sun, 1 Jul 2007 13:07:17 -0400 (EDT)
Resent-Date: Sun, 01 Jul 2007 12:07:34 -0500
Resent-From: [EMAIL PROTECTED]

I have completed a first version of a map of the TZ timezones in the US.
It is available as a shapefile at http://www.efele.net/maps.

Comments welcome,
Eric.