Bug 469 – Incorrect documentation in std.date

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dlang.org
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2006-10-28T08:01:28Z
Last change time
2020-03-09T09:03:25Z
Keywords
ddoc
Assigned to
Walter Bright
Creator
Matti Niemenmaa

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-10-28T08:01:28Z
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.
Comment #1 by matti.niemenmaa+dbugzilla — 2006-11-15T02:41:43Z
Fixed for DMD 0.174.
Comment #2 by dlang-bot — 2020-03-09T09:03:25Z
dlang-community/dfmt pull request #470 "Fix Issue #469" was merged into master: - fbd8559ceb0caf46a7503e3fca973064713ad599 by Hackerpilot: Test case for issue 469 https://github.com/dlang-community/dfmt/pull/470