aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2004-07-20 00:42:59 +0800
committerLarry Ewing <lewing@src.gnome.org>2004-07-20 00:42:59 +0800
commita2e97ee71b03327741343200a2237fa031e3dffa (patch)
treed9ebb2561f8d8e270ad70679916fc301eb748ba6 /calendar/gui/calendar-component.c
parent25e8440cb73edfccb4ac1d76c285919da87f661e (diff)
downloadgsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.gz
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.bz2
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.lz
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.xz
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.tar.zst
gsoc2013-evolution-a2e97ee71b03327741343200a2237fa031e3dffa.zip
use short month forms to limit the maximum width of the label.
2004-07-16 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 51b6402eb4..80e921803b 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -513,7 +513,7 @@ set_info (CalendarComponentView *component_view)
&& start_tm.tm_mon == end_tm.tm_mon
&& start_tm.tm_mday == end_tm.tm_mday) {
e_utf8_strftime (buffer, sizeof (buffer),
- _("%A %d %B %Y"), &start_tm);
+ _("%A %d %b %Y"), &start_tm);
} else if (start_tm.tm_year == end_tm.tm_year) {
e_utf8_strftime (buffer, sizeof (buffer),
_("%a %d %b"), &start_tm);
@@ -537,22 +537,22 @@ set_info (CalendarComponentView *component_view)
e_utf8_strftime (buffer, sizeof (buffer),
"%d", &start_tm);
e_utf8_strftime (end_buffer, sizeof (end_buffer),
- _("%d %B %Y"), &end_tm);
+ _("%d %b %Y"), &end_tm);
strcat (buffer, " - ");
strcat (buffer, end_buffer);
} else {
e_utf8_strftime (buffer, sizeof (buffer),
- _("%d %B"), &start_tm);
+ _("%d %b"), &start_tm);
e_utf8_strftime (end_buffer, sizeof (end_buffer),
- _("%d %B %Y"), &end_tm);
+ _("%d %b %Y"), &end_tm);
strcat (buffer, " - ");
strcat (buffer, end_buffer);
}
} else {
e_utf8_strftime (buffer, sizeof (buffer),
- _("%d %B %Y"), &start_tm);
+ _("%d %b %Y"), &start_tm);
e_utf8_strftime (end_buffer, sizeof (end_buffer),
- _("%d %B %Y"), &end_tm);
+ _("%d %b %Y"), &end_tm);
strcat (buffer, " - ");
strcat (buffer, end_buffer);
}