set_time_zone returns undef if the new time zone is the same as the
old. Is that by design?
I got caught doing this:
return $self-class_time-set_time_zone( $tz );
in the cases when $tz was not changing.
--
Bill Moseley
[EMAIL PROTECTED]
On Tue, 13 Sep 2005, Bill Moseley wrote:
set_time_zone returns undef if the new time zone is the same as the
old. Is that by design?
I got caught doing this:
return $self-class_time-set_time_zone( $tz );
in the cases when $tz was not changing.
Nope, that's definitely a bug.
-dave