Boost C++ Libraries: Ticket #12074: Incorrect example in documentation for boost::gregorian::date::day_of_week() https://svn.boost.org/trac10/ticket/12074 <p> The documentation (<a href="http://www.boost.org/doc/libs/1_60_0/doc/html/date_time/gregorian.html#date_time.gregorian.date_class">http://www.boost.org/doc/libs/1_60_0/doc/html/date_time/gregorian.html#date_time.gregorian.date_class</a>) offers this example: </p> <pre class="wiki"> greg_day_of_week day_of_week() const </pre><blockquote> <p> Get the day of the week (Sunday, Monday, etc.) </p> <pre class="wiki">date d(2002,Jan,10); d.day(); // --&gt; Thursday </pre></blockquote> <p> I would expect the last line to say d.day_of_week() instead of d.day(). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12074 Trac 1.4.3 anonymous Sun, 02 Oct 2016 17:02:53 GMT owner, component changed https://svn.boost.org/trac10/ticket/12074#comment:1 https://svn.boost.org/trac10/ticket/12074#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">az_sw_dude</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">date_time</span> </li> </ul> Ticket James E. King, III Fri, 29 Dec 2017 02:37:02 GMT owner, status changed https://svn.boost.org/trac10/ticket/12074#comment:2 https://svn.boost.org/trac10/ticket/12074#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">az_sw_dude</span> to <span class="trac-author">James E. King, III</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket James E. King, III Fri, 29 Dec 2017 02:37:49 GMT <link>https://svn.boost.org/trac10/ticket/12074#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12074#comment:3</guid> <description> <p> <a class="ext-link" href="https://github.com/boostorg/date_time/pull/66"><span class="icon">​</span>https://github.com/boostorg/date_time/pull/66</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>James E. King, III</dc:creator> <pubDate>Thu, 18 Jan 2018 13:46:42 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/12074#comment:4 https://svn.boost.org/trac10/ticket/12074#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.67.0</span> </li> </ul> Ticket James E. King, III Sun, 28 Jan 2018 16:25:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12074#comment:5 https://svn.boost.org/trac10/ticket/12074#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fix merged to master; resolved. </p> Ticket