Opened 12 years ago

Closed 12 years ago

#4844 closed Bugs (fixed)

End of February 2000 is the 29 (resubmit)

Reported by: robbie@… 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();

Change History (1)

comment:1 by anonymous, 12 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting this. It was merged to the release branch in [66268] so it will be fixed in the next release.

Note: See TracTickets for help on using tickets.