Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update widgets at midnight #634

Merged
merged 2 commits into from
Sep 5, 2020

Conversation

KristianTashkov
Copy link

Currently widgets don't get updated after midnight until you take an action on one of them.

@KristianTashkov KristianTashkov force-pushed the refresh_widgets_at_midnight branch from 1b65329 to ea6ca15 Compare September 4, 2020 13:48
Copy link
Owner

@iSoron iSoron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request, @KristianTashkov. It looks good to me. I had only some minor comments.

@@ -175,9 +175,14 @@ public static long getStartOfToday()
return getStartOfDay(getLocalTime());
}

public static long getTomorrowStart()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, please rename this to getStartOfTomorrow()

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@iSoron iSoron merged commit d59ab89 into iSoron:dev Sep 5, 2020
@dRoskar dRoskar mentioned this pull request Dec 30, 2020
iSoron pushed a commit that referenced this pull request Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants