Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#18534 closed defect (fixed)

Error in wxDateTime::Tm Struct Reference

Reported by: mgimenez Owned by: Vadim Zeitlin <vadim@…>
Priority: normal Milestone: 3.1.3
Component: documentation Version: 3.0.3
Keywords: Cc:
Blocked By: Blocking:
Patch: no

Description

The doc for wxDateTime::Tm Struct says:

notably its mon and mday fields count from 0 while yday counts from 1

where it should say:

notably its mon and yday fields count from 0 while mday counts from 1

Change History (5)

comment:1 Changed 10 months ago by vadz

Oops, this is really misleading. Thanks for noticing!

comment:2 Changed 10 months ago by Vadim Zeitlin <vadim@…>

  • Owner set to Vadim Zeitlin <vadim@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 128608dc2/git-wxWidgets:

Fix mistake in wxDateTime::Tm struct documentation

yday field values starts from 0 and mday starts from 1, contrary to what
was actually written.

Closes #18534.

comment:3 Changed 10 months ago by Vadim Zeitlin <vadim@…>

In 3b6a9f773/git-wxWidgets:

Fix mistake in wxDateTime::Tm struct documentation

yday field values starts from 0 and mday starts from 1, contrary to what
was actually written.

See #18534.

(cherry picked from commit 128608dc251d2c8721886b282ead8b17fcf306e6)

comment:4 Changed 10 months ago by Vadim Zeitlin <vadim@…>

In 128608dc2/git-wxWidgets:

Fix mistake in wxDateTime::Tm struct documentation

yday field values starts from 0 and mday starts from 1, contrary to what
was actually written.

Closes #18534.

comment:5 Changed 10 months ago by Vadim Zeitlin <vadim@…>

In 3b6a9f773/git-wxWidgets:

Fix mistake in wxDateTime::Tm struct documentation

yday field values starts from 0 and mday starts from 1, contrary to what
was actually written.

See #18534.

(cherry picked from commit 128608dc251d2c8721886b282ead8b17fcf306e6)

Note: See TracTickets for help on using tickets.