Subject: | Date::Format gets %Z wrong |
Using ActiveState under Windows, I see "EST" for my time zone, when it should read "AEDST". Here's a malfunctioning example (the first "EST" is wrong)
use DateTime;
my $source = DateTime->new(year => 2005, month => 1, day => 5,
hour => 13, minute => 55,
time_zone => 'Australia/Brisbane');
my $result = $source->clone()
->set_time_zone( 'Australia/Sydney' );
print $source->strftime("%F %r %Z"), " became ",
$result->strftime("%F %r %Z");
# Prints: 2005-01-05 01:55:00 PM EST became 2005-01-05 02:55:00 PM EST