Ticket #5250: date_time.patch

File date_time.patch, 466 bytes (added by Chris Jefferson, 12 years ago)

Patch to boost/date_time/gregorian_calendar.ipp

  • boost/date_time/gregorian_calendar.ipp

     
    4747      return week;
    4848    }
    4949
    50     if ((week == 53)) {
     50    if (week == 53) {
    5151      if((day==6) ||(day == 5 && is_leap_year(ymd.year))) {
    5252        return week; //under these circumstances week == 53.
    5353      } else {