summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/frontend/frontendscript.js
diff options
context:
space:
mode:
authorSimon Rettberg2018-12-12 14:00:35 +0100
committerSimon Rettberg2018-12-12 14:00:35 +0100
commitf14c04f3af8936f07d0efaa292ce0ea92981b1f6 (patch)
treee1275d80fdced4f0b3d652277863150f756785a3 /modules-available/locationinfo/frontend/frontendscript.js
parent[serversetup-bwlp] Simplify permissions (diff)
parent[dozmod] ldapfilters: Fix list (attr/value) (diff)
downloadslx-admin-f14c04f3af8936f07d0efaa292ce0ea92981b1f6.tar.gz
slx-admin-f14c04f3af8936f07d0efaa292ce0ea92981b1f6.tar.xz
slx-admin-f14c04f3af8936f07d0efaa292ce0ea92981b1f6.zip
Merge branch 'master' into ipxe
Diffstat (limited to 'modules-available/locationinfo/frontend/frontendscript.js')
-rw-r--r--modules-available/locationinfo/frontend/frontendscript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/frontend/frontendscript.js b/modules-available/locationinfo/frontend/frontendscript.js
index b5f59792..efe4d5b6 100644
--- a/modules-available/locationinfo/frontend/frontendscript.js
+++ b/modules-available/locationinfo/frontend/frontendscript.js
@@ -15,7 +15,7 @@ function IsOpen(date, room) {
openDate.setMinutes(tmp[i].MinutesOpen);
closeDate.setHours(tmp[i].HourClose);
closeDate.setMinutes(tmp[i].MinutesClose);
- if (openDate < date && closeDate > date) {
+ if (openDate <= date && closeDate > date) {
return true;
}
}