Matt Sisk wrote:
> 
> Just to be clear, this is the native behavior of DateTime::Set, rather
> than something that DateTime::Event::Cron is introducing into the sets
> it generates. Using your same example, but replacing the cron set with
> an actual (monthly) recurrence set, we see the same behavior:
> 

That's right - the problem is that the default timezone for
now() is UTC, even if my TZ is set to another timezone...

  $now = DateTime->now();
  print $now->strftime( "%a %F %T %Z\n");
  print $ENV{TZ},"\n";
  # Thu 2004-06-24 12:54:49 UTC
  # America/Sao_Paulo

- Flavio S. Glock

Reply via email to