From 6ba068e9e83a73029187034db9407a9de07c530b Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Wed, 25 Apr 2001 01:23:17 +0000 Subject: Fixed Strftime so it uses the locale prefered way to display date/time. * gui/alarm-notify/notify-main.c (funny_trigger_cb): Fixed Strftime so it uses the locale prefered way to display date/time. ("%x %X" instead of "%Y/%m/%d %H:%M:%S") svn path=/trunk/; revision=9553 --- calendar/gui/alarm-notify/notify-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 9c1d04b739..0fc6b48607 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -51,7 +51,7 @@ funny_trigger_cb (gpointer alarm_id, time_t trigger, gpointer data) struct tm *tm; tm = localtime (&trigger); - strftime (str, sizeof (str), "%Y/%m/%d %H:%M:%S", tm); + strftime (str, sizeof (str), "%x %X", tm); msg = g_strdup_printf (_("It is %s. The Unix time is %ld right now. We just thought " "you may like to know."), str, (long) trigger); -- cgit v1.2.3