Ticket #7840: ticket7840-01112013.patch

File ticket7840-01112013.patch, 500 bytes (added by genevivewoo@…, 10 years ago)
  • posix_time_zone.hpp

     
    417417      unsigned short sm=1;
    418418      int sd=0;
    419419      sd = lexical_cast<int>(s.substr(1)); // skip 'J'
    420       while(sd >= calendar::end_of_month_day(year,sm)){
     420      while(sd > calendar::end_of_month_day(year,sm)){
    421421        sd -= calendar::end_of_month_day(year,sm++);
    422422      }
    423423      unsigned short em=1;