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
- RFC 48 (v4) Replace localtime() and gmtime() with date... Perl6 RFC Librarian
- Re: RFC 48 (v4) Replace localtime() and gmtime() ... Jonathan Scott Duff
- Re: RFC 48 (v4) Replace localtime() and gmtim... Nathan Wiger
- Re: RFC 48 (v4) Replace localtime() and g... Jonathan Scott Duff
- Re: RFC 48 (v4) Replace localtime() a... Nathan Wiger
- Re: RFC 48 (v4) Replace localtime() a... Russ Allbery
- Re: RFC 48 (v4) Replace localtime() and g... Bart Lateur