From f2b92b21d27fb31c3d7e230a6d3f3cbcecc2282b Mon Sep 17 00:00:00 2001 From: Gerd von Egidy Date: Tue, 3 Feb 2009 09:48:24 +0100 Subject: [PATCH] improve comment --- src/cron.cpp | 2 +- test/test_cron.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cron.cpp b/src/cron.cpp index 3983632..ee63c23 100644 --- a/src/cron.cpp +++ b/src/cron.cpp @@ -186,7 +186,7 @@ time_t WeekCron::get_previousnow_point(const time_t calc_from, const int daysec, ft.tm_hour=0; ft.tm_min=0; ft.tm_sec=0; - // tm_isdst means to use the dst in use at the given time + // tm_isdst=-1 means to use the dst in use at the given time ft.tm_isdst=-1; // get unixtime of start of the day and add daysec diff --git a/test/test_cron.cpp b/test/test_cron.cpp index 233829f..3c7624f 100644 --- a/test/test_cron.cpp +++ b/test/test_cron.cpp @@ -625,7 +625,7 @@ public: calc_daybegin.tm_hour=0; calc_daybegin.tm_min=0; calc_daybegin.tm_sec=0; - // tm_isdst means to use the dst in use at the given time + // tm_isdst=-1 means to use the dst in use at the given time calc_daybegin.tm_isdst=-1; time_t daybegin = mktime(&calc_daybegin); -- 1.7.1