mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
Fix daylight saving time bug in timers (backport from tuxbox-cvs)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 636f7cef05
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2012-10-13 (Sat, 13 Oct 2012)
Origin message was:
------------------
- Fix daylight saving time bug in timers (backport from tuxbox-cvs)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user