commit | 0ac3bc62801d76733ba90c01aff8568a43aa07cc | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@android.com> | Thu Oct 01 00:16:42 2009 -0700 |
committer | Michael Chan <mchan@android.com> | Thu Oct 01 00:16:42 2009 -0700 |
tree | 7c785a7a392bb84954edeba3fb0c070c267b2dce | |
parent | c89f750e654ce04c22bea56ccb8cddcf634b986b [diff] |
Round off new events created from the month view... if the user previously did "Go to Today" Change-Id: I6148797f9d8c36c65828738fb5ad236577556bcd
diff --git a/src/com/android/calendar/MonthActivity.java b/src/com/android/calendar/MonthActivity.java index 7bb80c4..62f8602 100644 --- a/src/com/android/calendar/MonthActivity.java +++ b/src/com/android/calendar/MonthActivity.java
@@ -122,6 +122,9 @@ public void goToToday() { Time now = new Time(); now.set(System.currentTimeMillis()); + now.minute = 0; + now.second = 0; + now.normalize(false); TextView title = (TextView) findViewById(R.id.title); title.setText(Utils.formatMonthYear(now));