diff --git a/frontend/frontend.js b/frontend/frontend.js index 4660082..c517a8a 100644 --- a/frontend/frontend.js +++ b/frontend/frontend.js @@ -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