Oooops!, I did not note that in the change log :(
Anyway, Daisuke Maki needs to update his module
to use the new method as there is no more _new
and update the dependencies as will.


I have a request. Can you make DT::E::Sunrise contain a method to give me both sunrise AND sunset for a given $dt? What I currently see is

  $obj->sunrise_datetime($dt);
  $obj->sunset_datetime($dt);

But that's a slight bit of overhead since you have to call the internal function _sunrise() twice.

my($rise, $set) = $obj->sunrise_sunset($dt)

or something like that would be nice.

Meanwhile, will fix 0.03 to use sunrise_datetime() and sunset_datetime()...

--d

Reply via email to