diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gncal-week-view.c | 4 | ||||
-rw-r--r-- | 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 <federico@nuclecu.unam.mx> + + * gncal-week-view.c (gncal_week_view_set): Add the month to the + date range display label. + 1999-01-08 Nat Friedman <nat@nat.org> * 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); } |