Re: Chinese/Japanese calendars - GMP is a pre-requisite
On Sat, 17 Jan 2004, David Wheeler wrote: On Jan 16, 2004, at 7:55 PM, Joshua Hoblitt wrote: I would do it the way we did it in DBD::Pg: Put it in t/lib: Why not use Module::Install? Because not everyone is connected to a network with access to a CPAN mirror. And those people will hate you. RTFM on Module::Install -J --
Re: Perl 5.8.[23] + DateTime::Format::ISO8601 - leap year failure in t/02_examples.t (test code, not main code)
On Sun, 18 Jan 2004, Jonathan Leffler wrote: When I try to build DateTime::Format::ISO8601 v0.04, I'm getting a test failure in t/02_examples.t: t/02_examples.NOK 24# Failed test (t/02_examples.t at line 156) # got: '2004-04-11' # expected: '2004-04-12' t/02_examples.ok 140/140# Looks like you failed 1 tests of 140. t/02_examples.dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 24 Failed 1/140 tests, 99.29% okay I think this is a leap year problem in the test. The test is: I've reproduced the bug and agree with your analysis. I'll get a fixed release out soon. Thanks for reporting this. -J --
[Announce] Datetime-Event-Sunrise-0.05 on CVS
Hi All, I just updated DateTime-Event-Sunrise on CVS to include the new methods sunrise_sunset_span, sunrise_datetime, sunset_datetime. Example: (per Flavio) my $sun = DateTime::Event::Sunrise-new( longitude ='-118' , latitude = '33' ); my $dt1 = $sun-sunrise_datetime( $dt ); print Sunrise is: , $dt1-datetime , \n; my $dt2 = $sun-sunset_datetime( $dt ); print Sunset is: , $dt2-datetime , \n; my $dt_span = $sun-sunrise_sunset_span( datetime = $dt ); print Sunrise is: , $dt_span-start-datetime , \n; print Sunset is: , $dt_span-end-datetime , \n; I should release to CPAN in a few days. Thanks Ron Hill
Re: Chinese/Japanese calendars - GMP is a pre-requisite
On Jan 19, 2004, at 2:40 AM, Joshua Hoblitt wrote: Because not everyone is connected to a network with access to a CPAN mirror. And those people will hate you. RTFM on Module::Install Got tuits? David