Hidden tasks with due times should show at midnight on the date they are due, not the due time

pull/14/head
Sam Bosley 13 years ago
parent f56c2af26d
commit 76c0d13be1

@ -432,7 +432,7 @@ public final class Task extends RemoteModel {
return date; return date;
Date hideUntil = new Date(date / 1000L * 1000L); // get rid of millis Date hideUntil = new Date(date / 1000L * 1000L); // get rid of millis
if(setting != HIDE_UNTIL_SPECIFIC_DAY_TIME && !(setting == HIDE_UNTIL_DUE && this.hasDueTime())) { if(setting != HIDE_UNTIL_SPECIFIC_DAY_TIME) {
hideUntil.setHours(0); hideUntil.setHours(0);
hideUntil.setMinutes(0); hideUntil.setMinutes(0);
hideUntil.setSeconds(0); hideUntil.setSeconds(0);

Loading…
Cancel
Save