[Boost-bugs] [Boost C++ Libraries] #8936: month_iterator snaps-to-end when starting on the last day of a 30 day month

Subject: [Boost-bugs] [Boost C++ Libraries] #8936: month_iterator snaps-to-end when starting on the last day of a 30 day month
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-29 17:31:03


#8936: month_iterator snaps-to-end when starting on the last day of a 30 day month
------------------------------------+------------------------------
 Reporter: kieran.jeffrey-smart@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.47.0
 Severity: Problem | Keywords: month_iterator
------------------------------------+------------------------------
 I am using the month_iterator to iterate months, the snap-to-end works
 fine when I start on a month with 31 days, however if my start date is
 2013-11-30 for example, when I iterate forward a month this becomes
 2013-12-31.
 This is not what I expect as I never started on 31 and so it should go to
 2013-12-30.

 I am using boost 1.47, are you aware of this behavior and has it been
 resolved in a later version?

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8936>
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:13 UTC