From a2e97ee71b03327741343200a2237fa031e3dffa Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Mon, 19 Jul 2004 16:42:59 +0000 Subject: use short month forms to limit the maximum width of the label. 2004-07-16 Larry Ewing * gui/calendar-component.c (set_info): use short month forms to limit the maximum width of the label. svn path=/trunk/; revision=26673 --- calendar/gui/calendar-component.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'calendar/gui') 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); } -- cgit v1.2.3