Opened 12 years ago
Closed 12 years ago
#4844 closed Bugs (fixed)
End of February 2000 is the 29 (resubmit)
Reported by: | Owned by: | Matias Capeletto | |
---|---|---|---|
Milestone: | To Be Determined | Component: | Documentation |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
please refer to: https://svn.boost.org/trac/boost/ticket/2708
this issue was marked as closed/fixed in 2009 but it still persists
for example, please see: http://www.boost.org/doc/libs/1_44_0/doc/html/date_time/gregorian.html
the fix is:
date d(2000,Feb,1); -//gets Feb 28 -- 2000 was leap year +//gets Feb 29 -- 2000 was leap year date eom = d.end_of_month_day();
Note:
See TracTickets
for help on using tickets.
Thanks for reporting this. It was merged to the release branch in [66268] so it will be fixed in the next release.