WIP: Resolve "Sleeping hat shown before it's active."
Closes #529 (closed)
What does this MR do?
Checks the date if sleepmode should be active and sends users whose sleeptime starts to sleep
How confident are you it won't break things if deployed?
Pretty much, I had @ctwx_ok looking over my shoulder :D And we tested it in the local environment
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s)) -
Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings
Edited by Christian Walgenbach