[gimp/gimp-2-8] Bug 700707 - Missing time data in tool-options/*.settings files



commit a57ad1a9971ec544c7f934513252a7bb921f47f4
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.
    (cherry picked from commit 51181648f7aa48cb4de9b31b784654f3b057bab8)

 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 ed64607..de86529 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]