Jonathan Scott Duff wrote:
> 
> Or would C<date()> just use C<localtime()> and punt to the OS/C RTL/etc.?

Yes, I believe that would be the idea. Or something else exactly like it
;-). Resolving localtime is not our concern; presenting it in a
human-usable format is. And there's no reason you couldn't do this:

   use Date::Timezones qw/sec_offset/;
   $localtime = utcdate (time + sec_offset('US/Pacific'));

But this functionality wouldn't have to be in core.

-Nate

Reply via email to