removed colon due to nextcloud error

This commit is contained in:
jrue3084 2020-12-28 18:15:46 +00:00
parent 9c08147b00
commit 8fa8442bdd

View File

@ -139,8 +139,8 @@ function getFormatedName(is_manual, ha_version){
template = template.replace('{type}', is_manual ? 'Manual' : 'Auto');
template = template.replace('{ha_version}', ha_version);
let mmt = moment()
template = template.replace('{hour_12}', mmt.format('hh:mmA'));
template = template.replace('{hour}', mmt.format('HH:mm'));
template = template.replace('{hour_12}', mmt.format('hhmmA'));
template = template.replace('{hour}', mmt.format('HHmm'));
template = template.replace('{date}', mmt.format('YYYY-MM-DD'));
return template
}