diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-05 14:23:23 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-05 14:23:23 +0200 |
commit | c1055a6c8fdcf71af330e87ccf6874fff5943ed1 (patch) | |
tree | 09ef083f20015b6920df24ae4cd32aa80c085e77 /recording.c | |
parent | f4c63964a898b78e3bbce17e4fdb8f13e78e3317 (diff) | |
download | vdr-c1055a6c8fdcf71af330e87ccf6874fff5943ed1.tar.gz vdr-c1055a6c8fdcf71af330e87ccf6874fff5943ed1.tar.bz2 |
Added the year (two digits) to recording dates in LSTR, and thus also in menus
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recording.c b/recording.c index 4549b464..462b1600 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.108 2005/06/04 11:31:24 kls Exp $ + * $Id: recording.c 1.109 2005/06/05 14:11:45 kls Exp $ */ #include "recording.h" @@ -593,9 +593,10 @@ const char *cRecording::Title(char Delimiter, bool NewIndicator, int Level) cons s++; else s = name; - asprintf(&titleBuffer, "%02d.%02d%c%02d:%02d%c%c%s", + asprintf(&titleBuffer, "%02d.%02d.%02d%c%02d:%02d%c%c%s", t->tm_mday, t->tm_mon + 1, + t->tm_year % 100, Delimiter, t->tm_hour, t->tm_min, |