Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
opening-hours
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
regionalkauf
opening-hours
Commits
a14fdc88
Commit
a14fdc88
authored
Feb 02, 2016
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increased ohours datespan for index from +1 to +5 month from now
parent
aa483b47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
index.js
index.js
+1
-1
No files found.
index.js
View file @
a14fdc88
...
...
@@ -30,7 +30,7 @@ function getOHIndex(info, today, cb) {
today
=
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
(),
today
.
getDate
());
var
epochSpan
=
[
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
(),
today
.
getDate
()
-
7
),
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
()
+
1
,
today
.
getDate
())];
new
Date
(
today
.
getFullYear
(),
today
.
getMonth
()
+
5
,
today
.
getDate
())];
dateArray
(
epochSpan
).
getData
(
info
,
function
(
err
,
result
)
{
if
(
err
)
return
cb
(
err
);
var
resultSure
=
result
.
intervals
;
...
...
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