diff options
-rw-r--r-- | CONTRIBUTORS | 3 | ||||
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | tools.c | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 6ccec874..ae1c20bf 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2227,3 +2227,6 @@ Michael Nival <mnival@club-internet.fr> Yarema Aka Knedlyk <yupadmin@gmail.com> for translating OSD texts to the Ukrainian language + +Lauri Nurmi <lanurmi@iki.fi> + for adding a missing '.' to the date returned by DayDateTime() @@ -5509,3 +5509,4 @@ Video Disk Recorder Revision History - Added some missing 'const' keywords (thanks to Sascha Volkenandt). - The 'Allowed' parameter in cMenuEditStrItem() is now NULL by default, which results in using tr(FileNameChars) (suggested by Thomas Günther). +- Added a missing '.' to the date returned by DayDateTime() (thanks to Lauri Nurmi). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.136 2007/10/13 12:00:21 kls Exp $ + * $Id: tools.c 1.137 2007/11/03 15:34:07 kls Exp $ */ #include "tools.h" @@ -896,7 +896,7 @@ cString DayDateTime(time_t t) time(&t); struct tm tm_r; tm *tm = localtime_r(&t, &tm_r); - snprintf(buffer, sizeof(buffer), "%s %02d.%02d %02d:%02d", *WeekDayName(tm->tm_wday), tm->tm_mday, tm->tm_mon + 1, tm->tm_hour, tm->tm_min); + snprintf(buffer, sizeof(buffer), "%s %02d.%02d. %02d:%02d", *WeekDayName(tm->tm_wday), tm->tm_mday, tm->tm_mon + 1, tm->tm_hour, tm->tm_min); return buffer; } |