From 7f50a3cf209b72145e36459c9658ec1c95889a93 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 14 Jan 1999 01:29:55 +0000 Subject: Add the month to the date range display label. 1999-01-13 Federico Mena Quintero * gncal-week-view.c (gncal_week_view_set): Add the month to the date range display label. svn path=/trunk/; revision=604 --- calendar/ChangeLog | 5 +++++ calendar/gncal-week-view.c | 4 ++-- calendar/gui/gncal-week-view.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4b8e47de0d..3f5897077c 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +1999-01-13 Federico Mena Quintero + + * gncal-week-view.c (gncal_week_view_set): Add the month to the + date range display label. + 1999-01-08 Nat Friedman * main.c: Converted some more stuff to use the standards. diff --git a/calendar/gncal-week-view.c b/calendar/gncal-week-view.c index 6a23d58525..63255702a7 100644 --- a/calendar/gncal-week-view.c +++ b/calendar/gncal-week-view.c @@ -225,11 +225,11 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week) week_end = time_add_day (week_start, 6); t = localtime (&week_start); - strftime (buf, sizeof (buf), "%A %d %Y - ", t); + strftime (buf, sizeof (buf), "%a %b %d %Y - ", t); len = strlen (buf); t = localtime (&week_end); - strftime (buf + len, sizeof (buf) - len, "%A %d %Y", t); + strftime (buf + len, sizeof (buf) - len, "%a %b %d %Y", t); gtk_label_set (GTK_LABEL (wview->label), buf); } diff --git a/calendar/gui/gncal-week-view.c b/calendar/gui/gncal-week-view.c index 6a23d58525..63255702a7 100644 --- a/calendar/gui/gncal-week-view.c +++ b/calendar/gui/gncal-week-view.c @@ -225,11 +225,11 @@ gncal_week_view_set (GncalWeekView *wview, time_t start_of_week) week_end = time_add_day (week_start, 6); t = localtime (&week_start); - strftime (buf, sizeof (buf), "%A %d %Y - ", t); + strftime (buf, sizeof (buf), "%a %b %d %Y - ", t); len = strlen (buf); t = localtime (&week_end); - strftime (buf + len, sizeof (buf) - len, "%A %d %Y", t); + strftime (buf + len, sizeof (buf) - len, "%a %b %d %Y", t); gtk_label_set (GTK_LABEL (wview->label), buf); } -- cgit v1.2.3