2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 16:46:35 +00:00

fhemweb_weekprofile: show correct weekdays

git-svn-id: https://svn.fhem.de/fhem/trunk@10250 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
risiko79 2015-12-23 20:51:08 +00:00
parent 7973e1ec9f
commit 0801520653

View File

@ -133,7 +133,7 @@ function FW_weekprofileShow(widget)
var table = widget.CONTENT;
for (var i = 0; i < shortDays.length; ++i) {
$(table).append('<tr class="'+ ( (i+1)%2==0 ? 'even':'odd')+ '"><td>'+shortDays[i]+'</td></tr>');
$(table).append('<tr class="'+ ( (i+1)%2==0 ? 'even':'odd')+ '"><td>'+widget.WEEKDAYS[i]+'</td></tr>');
var tr = $(table).find("tr").get(i);