From 4e7e9477148d8558b48c7b3a10831c73e0e4b326 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Thu, 12 Oct 2000 10:45:23 +0000 Subject: got 12/24 hour format the wrong way round. 2000-10-11 Damon Chaplin * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24 hour format the wrong way round. svn path=/trunk/; revision=5880 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-day-view-time-item.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index a91d7d2819..d6d220b0e4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2000-10-11 Damon Chaplin + + * gui/e-day-view-time-item.c (e_day_view_time_item_draw): got 12/24 + hour format the wrong way round. + 2000-10-12 JP Rosevear * conduits/calendar/calendar-conduit.c (comp_from_remote_record): diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c index 219f61d10f..19d8d40317 100644 --- a/calendar/gui/e-day-view-time-item.c +++ b/calendar/gui/e-day-view-time-item.c @@ -262,7 +262,7 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item, } hour = day_view->first_hour_shown; - if (day_view->use_24_hour_format) { + if (!day_view->use_24_hour_format) { if (hour == 0 || hour == 12) hour = 12; else @@ -323,7 +323,7 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item, minute += day_view->mins_per_row; if (minute >= 60) { hour++; - if (day_view->use_24_hour_format) { + if (!day_view->use_24_hour_format) { if (hour == 0 || hour == 12) hour = 12; else -- cgit