Opened 9 years ago
Last modified 9 years ago
#8936 new Bugs
month_iterator snaps-to-end when starting on the last day of a 30 day month
Reported by: | Owned by: | az_sw_dude | |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | month_iterator | Cc: |
Description
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
Note:
See TracTickets
for help on using tickets.