]> saetta.ns0.it Git - libgtkform/commitdiff
Bugfix on datetime field standard format string.
authorAndrea Zagli <azagli@libero.it>
Wed, 21 Jul 2010 15:12:39 +0000 (17:12 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 21 Jul 2010 15:12:39 +0000 (17:12 +0200)
src/fielddatetime.c

index 59478589beedb4b3f37843129cab00ceaa1df5d4..4ce51398a01cb2a43f578af31d914879f56062e0 100644 (file)
@@ -764,7 +764,7 @@ static gchar
        switch (priv->type)
                {
                        case GTK_FORM_FIELD_DATETIME_TYPE_DATETIME:
-                               format = g_strdup ("%Y-%m-%d %H-%M-%S");
+                               format = g_strdup ("%Y-%m-%d %H:%M:%S");
                                break;
 
                        case GTK_FORM_FIELD_DATETIME_TYPE_DATE:
@@ -772,7 +772,7 @@ static gchar
                                break;
 
                        case GTK_FORM_FIELD_DATETIME_TYPE_TIME:
-                               format = g_strdup ("%H-%M-%S");
+                               format = g_strdup ("%H:%M:%S");
                                break;
 
                        default: