From 76441dd2696c64f1bdec5fd24f9e6ae647bb2fc3 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 29 Feb 2012 12:06:04 -0800 Subject: [PATCH] Fixed a bug where calendar would sometimes draw incorrectly --- astrid/src/com/todoroo/astrid/ui/CalendarView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/ui/CalendarView.java b/astrid/src/com/todoroo/astrid/ui/CalendarView.java index ce89a2591..190e0f0c5 100644 --- a/astrid/src/com/todoroo/astrid/ui/CalendarView.java +++ b/astrid/src/com/todoroo/astrid/ui/CalendarView.java @@ -315,7 +315,7 @@ public class CalendarView extends View { // Day heading -- End // Calendar -- Start - calendar.setTime(getCoercedDate(calendar.getTime(), calendarDate)); + calendar.setTime(getCoercedDate(new Date(), calendarDate)); // Reset the calendar to either today or the specified date if (currentHighlightDay == -1) { currentHighlightDay = calendarDate.getTime() == 0 ? 0 : calendar.get(Calendar.DATE);