On Fri, 18 Jun 2004, Matt Sisk wrote: > > $events->set_time_zone( 'Europe/Berlin' ); > > > > > > I found this a bit confusing -- when I RTFM I discovered that this last > line should be: > > $new_events = $events->set_time_zone( 'Europe/Berlin' ); > > So I have a couple of questions: > > 1) why isn't that method a mutator? just curious
Huh, I didn't even notice that it wasn't. That seems awfully wrong to me. Any method that starts with "set_" screams mutator. > 2) are datetimes from other time zones converted to the DT::S default > time zone before computations are performed? I think Flavio uses the DateTime.pm object internals, for which he will be duly punished when I change them. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
