Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
dss-add-ons
heating-controller
Merge requests
!73
#19981: Date comparison for changeover date - current month number fix
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Katarzyna Kwiatkowska
requested to merge
kkwiatkowska/heating-controller:19981
into
master
7 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Compare
master
master (base)
and
latest version
latest version
00d08867
1 commit,
7 years ago
1 file
+
1
−
1
Expand all files
Preferences
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
scripts/constants.js
+
1
−
1
Options
View file @ 00d08867
Edit in single-file editor
Open in Web IDE
Show full file
@@ -811,7 +811,7 @@ function updateApartmentControllerStatusByDate() {
//hier weiter
var
oDate
=
new
Date
();
var
day
=
oDate
.
getDate
();
var
month
=
oDate
.
getMonth
()
;
var
month
=
oDate
.
getMonth
()
+
1
;
// because otherwise January == 0
if
(
Property
.
getNode
(
'
generalSettings/seasonSettings/coolingStartDay
'
)
==
null
)
return
;
if
(
Property
.
getNode
(
'
generalSettings/seasonSettings/coolingStartMonth
'
)
==
null
)
Menu
Explore
Projects
Groups
Topics
Snippets