[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-datetime
Subject: Re: should set_time_zone always return $dt?
From: Dave Rolsky <autarch () urth ! org>
Date: 2005-09-13 21:04:44
Message-ID: Pine.LNX.4.63.0509131604370.966 () urth ! org
[Download RAW message or body]
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
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic