Jonathan Scott Duff <[EMAIL PROTECTED]> writes:

> Do you mean local time now or local time for all time?  The former is
> easy, the latter hard.  Well, it's not hard for those places where the
> offset from UTC has remained (mostly) constant, but there are some
> places that have an offset from UTC that is a function of time more
> complex than daylight savings.

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

It should just punt.  ANSI/ISO C already requires that the C localtime
call deal with all of this.  We can look at providing our own localtime if
the system is grossly deficient in this respect, but that's an internals
rather than a language issue.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to