diff options
author | Duncan Mak <duncan@src.gnome.org> | 2001-04-25 09:23:17 +0800 |
---|---|---|
committer | Duncan Mak <duncan@src.gnome.org> | 2001-04-25 09:23:17 +0800 |
commit | 6ba068e9e83a73029187034db9407a9de07c530b (patch) | |
tree | 69464811c6cf9520ed402d103ab08166d7653132 /calendar/gui | |
parent | b61b14b324f367bbd43ab27c16b5bcb88aa2a8c4 (diff) | |
download | gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.gz gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.zst gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.zip |
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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/alarm-notify/notify-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |