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
b79718bf
Commit
b79718bf
authored
Jul 23, 2014
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed error propagaytion
parent
3df4c22d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
holidays.js
lib/holidays.js
+6
-0
todo
todo
+3
-1
No files found.
lib/holidays.js
View file @
b79718bf
...
...
@@ -171,6 +171,12 @@ function Holidays(year) {
};
this
.
getHoliday
=
function
(
id
)
{
if
(
id
==
0
)
{
var
ret
=
[];
for
(
var
key
in
holidays
)
ret
.
push
(
holidays
[
key
]);
return
ret
;
}
if
(
id
in
holidays
)
return
[
holidays
[
id
]];
console
.
error
(
"invalid holiday id "
+
id
);
...
...
todo
View file @
b79718bf
...
...
@@ -42,4 +42,6 @@ openNow(json, now, plz, lang, asString)
openingHoursView(json, now, regionalCode, lang)
-->html string
openNow auch nach absprache, nur mit json incl
\ No newline at end of file
openNow auch nach absprache, nur mit json incl
evtl ical export
\ No newline at end of file
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