aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
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
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')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/alarm-notify/notify-main.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 73b921b494..c3c55bba50 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-24 Duncan Mak <duncan@ximian.com>
+
+ * 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")
+
2001-04-21 Gediminas Paulauskas <menesis@delfi.lt>
* gui/calendar-summary.c: translate "Things to do" etc. and convert them
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);