Changeset 366


Ignore:
Timestamp:
Jun 12, 2007, 6:07:11 PM (13 years ago)
Author:
Peter Johansson
Message:

fixed bug in display of month (as integer) in Date class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Date.cc

    r298 r366  
    184184          ss << timeinfo->tm_yday+1;
    185185        else if (*i == 'm') {
    186           if (timeinfo->tm_mon<11)
     186          if (timeinfo->tm_mon<9)
    187187            ss << "0";
    188188          ss << timeinfo->tm_mon+1;
Note: See TracChangeset for help on using the changeset viewer.