summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-11-03 15:36:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2007-11-03 15:36:41 +0100
commit612bbc0e066dd8823eea45c38db8583d76bb2e6a (patch)
treeab23fbe37835d3af0e46f08d6d23aca853dc9469
parent46b9d18368091d2c694608bd6903e23dd4288fbe (diff)
downloadvdr-612bbc0e066dd8823eea45c38db8583d76bb2e6a.tar.gz
vdr-612bbc0e066dd8823eea45c38db8583d76bb2e6a.tar.bz2
Added a missing '.' to the date returned by DayDateTime()
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY1
-rw-r--r--tools.c4
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()
diff --git a/HISTORY b/HISTORY
index ee0cbffe..00b106da 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/tools.c b/tools.c
index bbbcf82f..ba7b0cf9 100644
--- a/tools.c
+++ b/tools.c
@@ -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;
}