mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-23 22:46:44 +01:00
removed colon due to nextcloud error
This commit is contained in:
parent
9c08147b00
commit
8fa8442bdd
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user