www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3178] New: std.date.localTZA never initialised

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3178

           Summary: std.date.localTZA never initialised
           Product: D
           Version: 2.032
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: johnch_atms hotmail.com


std.date.toString always returns an incorrect result because localTZA is not
being initialised. This is because std.datebase isn't referenced anywhere, and
thus it's constructor, which would otherwise call std_date_static_this, never
runs.

A workaround for client code is to import std.datebase.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3178


MIURA Masahiro <echochamber gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |echochamber gmail.com





PDT ---
Already reported in 2965, only on Linux though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 20 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3178


Brad Roberts <braddr puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |braddr puremagic.com
         Resolution|                            |DUPLICATE





PDT ---


*** This issue has been marked as a duplicate of issue 2965 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 20 2009