Flavio S. Glock wrote:
> 
> > > > Steven J. Weinberger wrote:
> > > > >
> > > > > Sunrise wasn't at 10:42 and the sun will set well before 22:48. Is there 
> > > > > something I'm doing wrong?
> > > >
> > > > I think these results are in UTC time.
> > >
> > > Hmm, this should probably be changed so that the returned object has the
> > > same time_zone as was passed to next().  I think this change would go in
> > > DT::E::Sunrise.
> >
> > You can use (untested):
> >
> >   $sunset = DateTime::Event::Sunrise( %param )->set_time_zone(
> > $my_time_zone );
> 
> Doesn't work. I'm looking for the bug...

Fixed in CVS. It was a bug in DateTime::Set

- Flavio S. Glock

Reply via email to