diff options
author | Christian Hofmaier | 2018-12-04 17:15:39 +0100 |
---|---|---|
committer | Christian Hofmaier | 2018-12-04 17:15:39 +0100 |
commit | 7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50 (patch) | |
tree | d6d2d621d610d7bb1df971ee6c9fba41fdd914ea | |
parent | [locationinfo] fix panel being closed all day long (diff) | |
download | slx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.tar.gz slx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.tar.xz slx-admin-7d9cf0a24308b2204fd063cc2fd0ef0af7f59d50.zip |
[locationinfo] fix panel being closed all day long in summary
-rw-r--r-- | modules-available/locationinfo/templates/frontend-summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/frontend-summary.html b/modules-available/locationinfo/templates/frontend-summary.html index 0053d1ff..adb3ce39 100644 --- a/modules-available/locationinfo/templates/frontend-summary.html +++ b/modules-available/locationinfo/templates/frontend-summary.html @@ -466,7 +466,7 @@ var closeDate = new MyDate(); closeDate.setHours(tmp[i].HourClose); closeDate.setMinutes(tmp[i].MinutesClose); - if (openDate < now && closeDate > now) { + if (openDate <= now && closeDate > now) { return true; } } |