summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index 4fb885994..21d8f5c9f 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -623,7 +623,7 @@ set_destination_settings(signal_user_data_t *ud, GhbValue *settings)
time_t t = time(NULL);
lt = localtime(&t);
st[0] = 0;
- strftime(st, 6, "%R", lt);
+ strftime(st, 6, "%H:%M", lt);
g_string_append_printf(str, "%s", st);
p += strlen("{time}");
}
@@ -634,7 +634,7 @@ set_destination_settings(signal_user_data_t *ud, GhbValue *settings)
time_t t = time(NULL);
lt = localtime(&t);
dt[0] = 0;
- strftime(dt, 11, "%F", lt);
+ strftime(dt, 11, "%Y-%m-%d", lt);
g_string_append_printf(str, "%s", dt);
p += strlen("{date}");
}