[gimp] Bug 700707 - Missing time data in tool-options/*.settings files
- From: Michael Natterer <mitch src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gimp] Bug 700707 - Missing time data in tool-options/*.settings files
 
- Date: Sat, 25 May 2013 09:22:53 +0000 (UTC)
 
commit 51181648f7aa48cb4de9b31b784654f3b057bab8
Author: Michael Natterer <mitch gimp org>
Date:   Sat May 25 11:21:15 2013 +0200
    Bug 700707 - Missing time data in tool-options/*.settings files
    
    strftime() the time using %H:%M:%S which should work on
    all platforms, unlike %T.
 app/core/gimpimagemapconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpimagemapconfig.c b/app/core/gimpimagemapconfig.c
index da2ae71..cd37d58 100644
--- a/app/core/gimpimagemapconfig.c
+++ b/app/core/gimpimagemapconfig.c
@@ -115,7 +115,7 @@ gimp_image_map_config_set_property (GObject      *object,
 
           t = config->time;
           tm = *localtime (&t);
-          strftime (buf, sizeof (buf), "%Y-%m-%d %T", &tm);
+          strftime (buf, sizeof (buf), "%Y-%m-%d %H:%M:%S", &tm);
 
           name = g_locale_to_utf8 (buf, -1, NULL, NULL, NULL);
           gimp_object_set_name (GIMP_OBJECT (config), name);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]