Adjustment for DailyTaskManager date inconsistency.
This commit is contained in:
@ -57,7 +57,7 @@ public class DailyTaskManager
|
||||
{
|
||||
// Schedule reset everyday at 6:30.
|
||||
final Calendar calendar = Calendar.getInstance();
|
||||
if ((calendar.get(Calendar.HOUR_OF_DAY) > 6) && (calendar.get(Calendar.MINUTE) > 30))
|
||||
if ((calendar.get(Calendar.HOUR_OF_DAY) >= 6) && (calendar.get(Calendar.MINUTE) >= 30))
|
||||
{
|
||||
calendar.add(Calendar.DAY_OF_YEAR, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user