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
73889a29
Commit
73889a29
authored
Oct 20, 2015
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for invalid data
parent
dca1cf1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dateArray.js
lib/dateArray.js
+2
-3
No files found.
lib/dateArray.js
View file @
73889a29
...
...
@@ -141,6 +141,7 @@ function wrapper(_epochSpan) {
}
function
parseTime
(
time
)
{
time
=
time
||
""
;
var
split
=
time
.
split
(
":"
);
return
{
h
:
parseInt
(
split
[
0
])
||
0
,
...
...
@@ -149,9 +150,7 @@ function wrapper(_epochSpan) {
}
function
parseDate
(
date
)
{
if
(
date
.
length
==
0
)
{
return
null
;
}
date
=
date
||
""
;
var
split
=
date
.
split
(
"."
);
if
(
!
split
||
split
.
length
<
2
)
{
...
...
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