refs #24970 fix night condition in dashboard greeting

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
Julien Veyssier 2021-01-13 18:41:53 +01:00
parent b0caa55563
commit 27f7b9f3ce
No known key found for this signature in database
GPG Key ID: 4141FEE162030638
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -166,7 +166,7 @@ export default {
// Determine part of the day // Determine part of the day
let partOfDay let partOfDay
if (time >= 22 && time < 5) { if (time >= 22 || time < 5) {
partOfDay = 'night' partOfDay = 'night'
} else if (time >= 18) { } else if (time >= 18) {
partOfDay = 'evening' partOfDay = 'evening'