DateTime documentation example shows error

2005-11-05 Thread Mike Schilli
Looks like this example doesn't work: Leap Seconds and Date Math The presence of leap seconds can cause some strange anomalies in date math. For example, the following is a legal datetime: my $dt = DateTime-new( year = 1971, month = 12, day = 31,

Re: DateTime documentation example shows error

2005-11-05 Thread Dave Rolsky
On Sat, 5 Nov 2005, Mike Schilli wrote: Looks like this example doesn't work: Leap Seconds and Date Math The presence of leap seconds can cause some strange anomalies in date math. For example, the following is a legal datetime: my $dt = DateTime-new( year = 1971, month =