181351 posts 1993 follows 1215 followers
Please pay attention to random failures.
for timezone in timezones: if 9 <= now(timezone).hour < 18: return workreturn rest