DateTime::Format::DateManip

2009-03-31 Thread Bill Moseley
Ya, I know I should stay away from Date::Manip, but there's this legacy code, see... So, this looks like a result of a timezone change (setting it twice, in this case): $ perl -MDateTime::Format::DateManip -le \ 'print DateTime::Format::DateManip-parse_datetime( 2006-03-11 )'

DateTime::Span - a span created with before has the same range as a span created with end

2009-03-31 Thread Terrence Brannon
Intuitively, it would seem that specifying the 'before' of a datetime span using the end option of the -from_datetimes() constructor would yield a range that is 1 second (1 nanosecond?) earlier than the actual date supplied. But as it is stands, the end of a range specified using the 'before'

Re: DateTime::Span - a span created with before has the same range as a span created with end

2009-03-31 Thread Zefram
Terrence Brannon wrote: Intuitively, it would seem that specifying the 'before' of a datetime span using the end option of the -from_datetimes() constructor would yield a range that is 1 second (1 nanosecond?) earlier than the actual date supplied. I would not find that intuitive. Your 1 second

Re: DateTime::Span - a span created with before has the same range as a span created with end

2009-03-31 Thread Dave Rolsky
On Tue, 31 Mar 2009, Terrence Brannon wrote: Intuitively, it would seem that specifying the 'before' of a datetime span using the end option of the -from_datetimes() constructor would yield a range that is 1 second (1 nanosecond?) earlier than the actual date supplied. But as it is stands, the