This morning, I hate DateTime for this.
$ perl -MDateTime -wle'$a = DateTime->today( time_zone => "Australia/Melbourne" ); $b = DateTime->today; $b->set_time_zone("Australia/Melbourne"); print $a->iso8601; print $b->iso8601' 2011-03-31T00:00:00 2011-03-30T11:00:00
I understand why it happens, but it's still an annoying, pissy, little bug to find. sigh...
No comments:
Post a Comment