Refactor isTime for improved readability

Functionality is the same as before.
Change so that onsdagsfika only happens for one hour