Thread overview
[Issue 2965] New: std.date: timezone not initialized
Jul 21, 2009
Brad Roberts
May 12, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2965

           Summary: std.date: timezone not initialized
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: echochamber@gmail.com


std.date.toString always returns "... GMT+0000", regardless of the actual timezone.

Looking at src/phobos/std/date.d, it looks like the variable 'localTZA' is not initialized, because std_date_static_this() is never called.

As a klagde, 'import datebase' calls the function and thus fixes the problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 21, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2965


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johnch_atms@hotmail.com




--- Comment #1 from Brad Roberts <braddr@puremagic.com>  2009-07-20 19:22:47 PDT ---
*** Issue 3178 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 11, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2965


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 26, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2965


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


--- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2010-09-26 16:16:24 PDT ---
http://www.dsource.org/projects/phobos/changeset/2064

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