We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbc6831 commit 64d4a82Copy full SHA for 64d4a82
howtos/how-to-set-an-away-message/server.js
@@ -20,7 +20,7 @@ function isOutOfHours(date) {
20
if (date.getDay() === 6) return true;
21
22
// Before 9am
23
- if (date.getHours() < 12) return true;
+ if (date.getHours() < 9) return true;
24
25
// After 5pm
26
if (date.getHours() >= 17) return true;
0 commit comments