Skip to content

Commit 64d4a82

Browse files
committed
Correct time
1 parent dbc6831 commit 64d4a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

howtos/how-to-set-an-away-message/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function isOutOfHours(date) {
2020
if (date.getDay() === 6) return true;
2121

2222
// Before 9am
23-
if (date.getHours() < 12) return true;
23+
if (date.getHours() < 9) return true;
2424

2525
// After 5pm
2626
if (date.getHours() >= 17) return true;

0 commit comments

Comments
 (0)