[Boost-bugs] [Boost C++ Libraries] #4844: End of February 2000 is the 29 (resubmit)

Subject: [Boost-bugs] [Boost C++ Libraries] #4844: End of February 2000 is the 29 (resubmit)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-12 10:59:03


#4844: End of February 2000 is the 29 (resubmit)
---------------------------------+------------------------------------------
 Reporter: robbie@… | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 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();
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4844>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC