Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ac3bc62 authored by Michael Chan's avatar Michael Chan
Browse files

Round off new events created from the month view... if the user previously did "Go to Today"

Change-Id: I6148797f9d8c36c65828738fb5ad236577556bcd
parent c89f750e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -122,6 +122,9 @@ public class MonthActivity extends Activity implements ViewSwitcher.ViewFactory,
    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));