try to fix duplicate/missing surise/sunset pins

here
Andreas Shimokawa 2016-05-31 00:07:24 +02:00
parent b71597800a
commit 0231e83ea3
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,10 @@ public class AlarmReceiver extends BroadcastReceiver {
LOG.info("will resend sunrise and sunset events");
final GregorianCalendar dateTimeTomorrow = new GregorianCalendar();
dateTimeTomorrow.set(Calendar.HOUR, 0);
dateTimeTomorrow.set(Calendar.MINUTE, 0);
dateTimeTomorrow.set(Calendar.SECOND, 0);
dateTimeTomorrow.set(Calendar.MILLISECOND, 0);
dateTimeTomorrow.add(GregorianCalendar.DAY_OF_MONTH, 1);
/*