summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-07-16 13:46:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-07-16 13:46:05 +0200
commit685e0f6951fadcc7723374ca2e0769771f3ef3bb (patch)
treeb1570612eb9d1ad474663a8b7264fb92c0309fcd /recording.c
parent3499416f0785923f40afe0478598c157c9fa00e2 (diff)
downloadvdr-685e0f6951fadcc7723374ca2e0769771f3ef3bb.tar.gz
vdr-685e0f6951fadcc7723374ca2e0769771f3ef3bb.tar.bz2
Year is now displayed with only 2 digits
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c6
1 files changed, 3 insertions, 3 deletions
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,