Summary: Missing tzname even though we have tzset
--- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-09-26 07:26:12
We have tzset in core.stdc.time. Missing from there are daylight and tzname
(which are what tzset sets). Personally, I don't think that daylight matters
much since you can get that easily enough from a tm. However, the lack of
tzname is a bit of a problem. Yes, tm has tm_zone which has the _current_ value
from tzname (be it tzname or tzname), but as far as I can tell, there is
no way at present to get both of the values of tzname without either directly
adding the appropriate C stuff yourself or by trying tms for multiple dates to
determine the second tzname value.
tzname in core.sys.posix.time but commented out - along with tzset and a
comment that they're in core.stdc.time, but only tzset is there, not tzname.
So, ideally, tzname would be added.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------