Summary: Missing tzname even though we have tzset
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime

--- Comment #0 from Jonathan M Davis <> 2010-09-26 07:26:12 
PDT ---
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[0] or tzname[2]), 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:
------- You are receiving this mail because: -------

Reply via email to