Added the year (two digits) to recording dates in LSTR, and thus also in menus

This commit is contained in:
Klaus Schmidinger
2005-06-05 14:23:23 +02:00
parent f4c63964a8
commit c1055a6c8f
4 changed files with 8 additions and 4 deletions

View File

@@ -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,