diff options
Diffstat (limited to 'datetime.cc')
-rw-r--r-- | datetime.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/datetime.cc b/datetime.cc index e26ddf98..f3434112 100644 --- a/datetime.cc +++ b/datetime.cc @@ -90,9 +90,10 @@ std::time_t interval_t::increment(const std::time_t moment) const } } - desc->tm_hour = 0; - desc->tm_min = 0; - desc->tm_sec = 0; + desc->tm_hour = 0; + desc->tm_min = 0; + desc->tm_sec = 0; + desc->tm_isdst = 0; then = std::mktime(desc); } |