diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-01 11:04:47 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-01 11:04:47 +0200 |
commit | 5e4834e737c93f9d083c536b2da4398479ace8f4 (patch) | |
tree | d83f57bb16867db3e345bf15cda80bd2a378f646 /recording.c | |
parent | a09bc76955c81a0c0dcd68216823305be724494b (diff) | |
download | vdr-5e4834e737c93f9d083c536b2da4398479ace8f4.tar.gz vdr-5e4834e737c93f9d083c536b2da4398479ace8f4.tar.bz2 |
Fixed a bug when a timer records over midnight of a day that had a change in Daylight Saving Time
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c index bcbdfa65..b19e8b73 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.59 2002/03/23 16:15:32 kls Exp $ + * $Id: recording.c 1.60 2002/04/01 10:51:23 kls Exp $ */ #include "recording.h" @@ -343,7 +343,7 @@ cRecording::cRecording(const char *FileName) time_t now = time(NULL); struct tm tm_r; struct tm t = *localtime_r(&now, &tm_r); // this initializes the time zone in 't' - t.tm_isdst = -1; // makes sure mktime() will determine the correct dst setting + t.tm_isdst = -1; // makes sure mktime() will determine the correct DST setting if (7 == sscanf(p + 1, DATAFORMAT, &t.tm_year, &t.tm_mon, &t.tm_mday, &t.tm_hour, &t.tm_min, &priority, &lifetime)) { t.tm_year -= 1900; t.tm_mon--; |