www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 469] New: Incorrect documentation in std.date

reply d-bugmail puremagic.com writes:

           Summary: Incorrect documentation in std.date
           Product: D
           Version: 0.172
          Platform: All
               URL: http://www.digitalmars.com/d/phobos/std_date.html
        OS/Version: All
            Status: NEW
          Keywords: ddoc
          Severity: major
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: deewiant gmail.com

I haven't used DDoc at all, so I don't know whether this is a problem with DDoc
or just the documentation in the source of std.date.

The problem is that within the documentation for struct Date, "int weekday" has
"0: not specified" and nothing else, while it should have the "1..7:
Sunday..Saturday" which, for some reason, is under "int tzcorrection".

Severity set to major since the documentation output is plainly incorrect.

Oct 28 2006
parent d-bugmail puremagic.com writes:

deewiant gmail.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #1 from deewiant gmail.com  2006-11-15 02:41 -------
Fixed for DMD 0.174.

Nov 15 2006