On Sunday, February 2, 2003, at 02:42 PM, Dave Rolsky wrote:
On Sun, 2 Feb 2003, Dave Rolsky wrote:If I have a datetime object with a floating time zone and then I set theAnd how about non-floating => floating? Same thing, no adjustment, right?
time zone to some non-floating zone, I shouldn't change the local time,
right?
Yes and yes. And if someone wanted different, it would be easy to have methods like:
$dt->unfloat_from_UTC( time_zone => 'America/Chicago' );
which takes the floating time as UTC and offsets to local time for the object's now-anchored time.
- Bruce
__bruce__van_allen__santa_cruz__ca__