aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorDuncan Mak <duncan@src.gnome.org>2001-04-25 09:23:17 +0800
committerDuncan Mak <duncan@src.gnome.org>2001-04-25 09:23:17 +0800
commit6ba068e9e83a73029187034db9407a9de07c530b (patch)
tree69464811c6cf9520ed402d103ab08166d7653132 /calendar/gui/alarm-notify
parentb61b14b324f367bbd43ab27c16b5bcb88aa2a8c4 (diff)
downloadgsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar
gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.gz
gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.bz2
gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.lz
gsoc2013-evolution-6ba068e9e83a73029187034db9407a9de07c530b.tar.xz
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/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/notify-main.c2
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);