summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY4
-rw-r--r--menu.c4
-rw-r--r--recording.c6
3 files changed, 9 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index a956c6ac..b6340a02 100644
--- a/HISTORY
+++ b/HISTORY
@@ -73,4 +73,8 @@ Video Disk Recorder Revision History
- When more than one timer matches at the same time, the first one in the list
with the highest 'Priority' is selected.
- The MANUAL section on "Programming the Timer" has been filled in.
+- The year in the "Recordings" menu as well as in the progress display during
+ replay has been reduced to 2 digits to allow more space for the recording's
+ title. In the internal file structure the year is still stored with 4 digits,
+ so there will be no problem at the next turn of the century ;-)
diff --git a/menu.c b/menu.c
index 2a856293..db3730fe 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.17 2000/07/16 10:55:45 kls Exp $
+ * $Id: menu.c 1.18 2000/07/16 13:42:29 kls Exp $
*/
#include "menu.h"
@@ -932,7 +932,7 @@ public:
};
cMenuRecordings::cMenuRecordings(void)
-:cOsdMenu("Recordings", 11, 6)
+:cOsdMenu("Recordings", 9, 6)
{
if (Recordings.Load()) {
cRecording *recording = Recordings.First();
diff --git a/recording.c b/recording.c
index 77c46aa5..714c7f13 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.9 2000/07/15 16:55:08 kls Exp $
+ * $Id: recording.c 1.10 2000/07/16 13:41:45 kls Exp $
*/
#define _GNU_SOURCE
@@ -166,10 +166,10 @@ const char *cRecording::Title(char Delimiter)
delete titleBuffer;
titleBuffer = NULL;
struct tm *t = localtime(&start);
- asprintf(&titleBuffer, "%02d.%02d.%04d%c%02d:%02d%c%s",
+ asprintf(&titleBuffer, "%02d.%02d.%02d%c%02d:%02d%c%s",
t->tm_mday,
t->tm_mon + 1,
- t->tm_year + 1900,
+ t->tm_year % 100,
Delimiter,
t->tm_hour,
t->tm_min,