Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gcompris
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2009-02-19 23:32:50 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2009-02-19 23:32:50 (GMT)
commit211fc5373234e00b6d3a8a9fc74a3087b52101c2 (patch)
treefa70c60f1b9fadee5e5bc020fdf113740d5abb9b /src/gcompris
parent2927f2736dbb595cfbb5f27c307e96ccbc6c718d (diff)
- Should fix the empty date field in the log on Windows
svn path=/trunk/; revision=3727
Diffstat (limited to 'src/gcompris')
-rw-r--r--src/gcompris/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gcompris/log.c b/src/gcompris/log.c
index d00775c..e4b1dc7 100644
--- a/src/gcompris/log.c
+++ b/src/gcompris/log.c
@@ -94,7 +94,8 @@ void gc_log_end (GcomprisBoard *gcomprisBoard, GCBonusStatusList status) {
/* Prepare our log */
/* The default format for time represenation. See strftime(3) */
- char *fmt = "%F %T";
+ /* Warning %F not supported on Windows */
+ char *fmt = "%Y-%m-%d %H:%M:%S";
char buf[256];