mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
refs #24970 fix night condition in dashboard greeting
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
parent
b0caa55563
commit
27f7b9f3ce
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
|
|
@ -166,7 +166,7 @@ export default {
|
|||
|
||||
// Determine part of the day
|
||||
let partOfDay
|
||||
if (time >= 22 && time < 5) {
|
||||
if (time >= 22 || time < 5) {
|
||||
partOfDay = 'night'
|
||||
} else if (time >= 18) {
|
||||
partOfDay = 'evening'
|
||||
|
|
|
|||
Loading…
Reference in a new issue