From: Gerd von Egidy Date: Tue, 3 Feb 2009 08:48:24 +0000 (+0100) Subject: improve comment X-Git-Tag: v2.6~136^2~4 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=f2b92b21d27fb31c3d7e230a6d3f3cbcecc2282b;p=libi2ncommon improve comment --- 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);