Commit a585e2c1 authored by Philipp's avatar Philipp

fixed datepicker

parent fc7f0ed2
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3,7 +3,15 @@ ...@@ -3,7 +3,15 @@
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/> <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2"> <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group> <group>
<file>file:/W:/website_rabenwetter/src/assets/js/main.js</file> <file>file:/W:/template_rabenwetter/src/fullscreen1.html</file>
<file>file:/W:/template_rabenwetter/src/skin.conf</file>
<file>file:/W:/template_rabenwetter/src/archive.html</file>
<file>file:/W:/template_rabenwetter/src/index.html</file>
<file>file:/W:/template_rabenwetter/src/info.html</file>
<file>file:/W:/template_rabenwetter/src/fullscreen2.html</file>
<file>file:/W:/template_rabenwetter/src/contact.html</file>
<file>file:/W:/template_rabenwetter/package.json</file>
<file>file:/W:/template_rabenwetter/src/assets/js/main.js</file>
</group> </group>
</open-files> </open-files>
</project-private> </project-private>
{ {
"name": "website_rabenwetter", "name": "template_rabenwetter",
"version": "1.0.0", "version": "1.0.0",
"keywords": [ "keywords": [
"util", "util",
......
...@@ -453,8 +453,7 @@ var mode = 'day'; ...@@ -453,8 +453,7 @@ var mode = 'day';
endDate: "today", endDate: "today",
format: "yyyy-mm-dd", format: "yyyy-mm-dd",
startView: ( mode === 'day' ? 0 : ( mode === 'month' ? 1 : ( mode === 'year' ? 2 : 0 ) ) ), startView: ( mode === 'day' ? 0 : ( mode === 'month' ? 1 : ( mode === 'year' ? 2 : 0 ) ) ),
minViewMode: ( mode === 'day' ? 0 : ( mode === 'month' ? 1 : ( mode === 'year' ? 2 : 0 ) ) ), minViewMode: ( mode === 'day' ? 0 : ( mode === 'month' ? 1 : ( mode === 'year' ? 2 : 0 ) ) )
maxViewMode: ( mode === 'day' ? 0 : ( mode === 'month' ? 1 : ( mode === 'year' ? 2 : 0 ) ) )
}).on("changeDate", function(e) { }).on("changeDate", function(e) {
now = new Date( e.date.getTime()+7200000 ); now = new Date( e.date.getTime()+7200000 );
updateGraphs(mode, now); updateGraphs(mode, now);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment