Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicholas J Anderson
whats-open
Commits
ddee5f8c
Commit
ddee5f8c
authored
Aug 25, 2014
by
Renfred Harper
Browse files
Fix grid.js typo
parent
ecca91a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
whats_open/static/js/grid.js
View file @
ddee5f8c
...
...
@@ -70,7 +70,7 @@ function update_grid(facilities) {
// Special schedules take effect after 5am on their start day
// to prevent collisions with the previous night's schedule,
// and they end at 5am the day after their end date.
special_start
=
Date
.
parse
(
special
.
va
i
ld_start
+
'
05:00:00
'
);
special_start
=
Date
.
parse
(
special
.
val
i
d_start
+
'
05:00:00
'
);
special_end
=
Date
.
parse
(
special
.
valid_end
+
'
05:00:00
'
);
special_end
.
setDate
(
special_end
.
getDate
()
+
1
);
if
(
now
>=
special_start
&&
now
<=
special_end
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment