Hello!
I just recently found the DateTime project after spending a good week
studying international standards, chapters in various perl books, and the
various existing modules in CPAN. I was disastisfied with all existing
solutions, and was just about to start coding my own date object when I
There's a bug somewhere in the interaction between leap seconds and time
zones.
In timezones with a positive offset, datetimes after local midnight but
before UTC midnight already are affected by the leap second:
$dt = DateTime-new( year = 1997, month = 7, day = 1,
On Thu, 5 Aug 2004, Ofer Nave wrote:
1) Why have different 'new' and 'from_epoch' constructors? Couldn't one
always use 'new' and have the module figure out what information to
initiatlize itself with by seeing if either the 'year' or 'epoch' name
parameter was passed? I think it would
On Fri, 6 Aug 2004, Rick Measham wrote:
All parameters are named in DateTime. It's a convention we use and
s/All/Almost all/
There are some that take positional params. Those are usually cases where
I expect it to never need more than one parameter, _or_ where it takes a
list of similar
On Thu, 5 Aug 2004, Ofer Nave wrote:
run in epoch mode, and not even pay attention to hour. Just like it
wouldn't pay attention to billybob if I passed it ( epoch = time(), billbob
= 'thornton' ).
Uh, have you tried that? It'll throw an exception. I'm a big believer in
dying on bad input,