This commit is contained in:
giomba 2019-01-05 15:41:49 +01:00
parent 5a4d1a86b0
commit b7419a87f6
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function zerocalcareDisplay() {
dateElement.appendChild(document.createTextNode('📅 ' + m.format('dddd D MMMM YYYY') ));
var timeElement = document.createElement('div');
var timeString = (json_obj[i]['ALL_DAY'] == true) ? 'Tutto il giorno' : ('ore ' + m.format('HH:mm'));
var timeString = (json_obj[i]['ALLDAY'] == true) ? 'Tutto il giorno' : ('ore ' + m.format('HH:mm'));
timeElement.appendChild(document.createTextNode('⏰ ' + timeString));
// add if location is not empty -- default location should be selected by backend