On Thu, Apr 18, 2013 at 2:24 AM, Brandon McCaig <bamcc...@gmail.com> wrote:

> Looks to me like the problem is that you're not specifying the
> time zone for DateTime::now. Try this:
>
> my $date = DateTime->now(time_zone => $tz);
>

That's it. I was using the example in the synopsis without thinking:
http://search.cpan.org/~drolsky/DateTime-TimeZone-1.58/lib/DateTime/TimeZone.pm

Thanks.

Reply via email to