- Fix daylight saving time bug in timers (backport from tuxbox-cvs)

This commit is contained in:
striper
2012-10-13 17:10:25 +02:00
committed by satbaby
parent dc95ffa37c
commit 636f7cef05
3 changed files with 1 additions and 3 deletions

View File

@@ -44,6 +44,7 @@ void correctTime(struct tm *zt) {
zt->tm_hour = minmax(zt->tm_hour, 0, 23);
zt->tm_min = minmax(zt->tm_min, 0, 59);
zt->tm_sec = minmax(zt->tm_sec, 0, 59);
zt->tm_isdst = -1;
}
//=============================================================================
// Strings