diff options
-rw-r--r-- | datetime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datetime.cc b/datetime.cc index 13789700..040c3046 100644 --- a/datetime.cc +++ b/datetime.cc @@ -110,7 +110,7 @@ datetime_t interval_t::increment(const datetime_t& moment) const if (months) desc->tm_mon += months; if (days) - desc->tm_mon += days; + desc->tm_mday += days; desc->tm_hour += hours; desc->tm_min += minutes; |