Commit 861cf302 authored by Antoine Cellerier's avatar Antoine Cellerier

applied patch by Julien Martin

parent 051cac88
......@@ -1348,7 +1348,7 @@ int vlm_ScheduleSetup( vlm_schedule_t *schedule, char *psz_cmd,
time.tm_year = 0; /* year */
time.tm_wday = 0; /* day of the week */
time.tm_yday = 0; /* day in the year */
time.tm_isdst = 0; /* daylight saving time */
time.tm_isdst = -1; /* daylight saving time */
/* date should be year/month/day-hour:minutes:seconds */
p = strchr( psz_value, '-' );
......@@ -1426,7 +1426,7 @@ int vlm_ScheduleSetup( vlm_schedule_t *schedule, char *psz_cmd,
time.tm_year = 0; /* year */
time.tm_wday = 0; /* day of the week */
time.tm_yday = 0; /* day in the year */
time.tm_isdst = 0; /* daylight saving time */
time.tm_isdst = -1; /* daylight saving time */
/* date should be year/month/day-hour:minutes:seconds */
p = strchr( psz_value, '-' );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment