diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-04-30 14:18:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-04-30 14:18:46 +0100 |
| commit | edf35a7acb05289dc024733efd6e13205def5174 (patch) | |
| tree | c3247adb61671e56bb5b02a1b6e467bb60e8432b | |
| parent | 6d52a032276e7de4bf1c8630f5a9c1b35b0173d7 (diff) | |
Fix incorrect day-of-month in LocalTime.
| -rw-r--r-- | src/local_time.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local_time.cc b/src/local_time.cc index fe58c077..0bbddf43 100644 --- a/src/local_time.cc +++ b/src/local_time.cc @@ -34,7 +34,7 @@ LocalTime::LocalTime () _year = tm->tm_year + 1900; _month = tm->tm_mon + 1; - _day = tm->tm_mday + 1; + _day = tm->tm_mday; _hour = tm->tm_hour; _minute = tm->tm_min; _second = tm->tm_sec; |
