diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1999-01-14 09:29:55 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-01-14 09:29:55 +0800 |
commit | 7f50a3cf209b72145e36459c9658ec1c95889a93 (patch) | |
tree | 292c5c262d947a784828f1e79c558a6473d0384b /calendar | |
parent | b360846792c7ade453c2638c0aaaf857163ef1a1 (diff) | |
download | gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar.gz gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar.bz2 gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar.lz gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar.xz gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.tar.zst gsoc2013-evolution-7f50a3cf209b72145e36459c9658ec1c95889a93.zip |
Add the month to the date range display label.
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.
svn path=/trunk/; revision=604
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); } |