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
68128cb0
Commit
68128cb0
authored
Aug 12, 2014
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed todo
parent
d3a276df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
dateView.js
lib/dateView.js
+1
-0
todo
todo
+4
-0
No files found.
lib/dateView.js
View file @
68128cb0
...
...
@@ -366,6 +366,7 @@ function asString(data, now) {
if
(
data
[
idx
][
0
].
getTime
()
-
nowT
<=
twoHours
)
{
second
=
"bald wieder geöffnet ab "
+
nextM
.
format
(
"LT"
);
}
//uebermorgen wieder geoeffnet ab blabla im element[2]
else
if
(
compareDate
(
now
,
data
[
idx
][
0
])
===
0
)
{
second
=
"wieder geöffnet ab "
+
nextM
.
format
(
"LT"
)
}
...
...
todo
View file @
68128cb0
...
...
@@ -9,3 +9,7 @@ saisonal,urlaub etc ueber neujahr? 23.12.2014 - 10.01.2015????
openNow auch nach absprache, nur mit json incl
evtl ical export
view asString: relative angaben: heute nicht geoeffnet, morgen|uebermorgen|in 3 tagen| in einer woche | in einem monat | in mehr als einem monat wieder geoffnet
falls im 3 monatszeitraum nicht geöffnet, für asString bis max 12 monate weitersuchen
\ 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