improve comment
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:48:24 +0000 (09:48 +0100)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 3 Feb 2009 08:48:24 +0000 (09:48 +0100)
src/cron.cpp
test/test_cron.cpp

index 3983632..ee63c23 100644 (file)
@@ -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
index 233829f..3c7624f 100644 (file)
@@ -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);