[sleeplog] Update interface.html

pull/2110/head
storm64 2022-05-24 13:18:48 +02:00
parent 5a7360b64f
commit e1f4364ab0
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ function getFnList() {
}
console.log(ret.date);
var thisDates = [new Date(ret.date), new Date(ret.date + 12096E5)];
ret.dName = thisDate[0].toISOString().substr(0, 10) + "_" + thisDate[1].toISOString().substr(5, 5);
ret.dateA = thisDate[0].toLocaleDateString(undefined);
ret.dateB = thisDate[1].toLocaleDateString(undefined);
ret.dName = thisDates[0].toISOString().substr(0, 10) + "_" + thisDates[1].toISOString().substr(5, 5);
ret.dateA = thisDates[0].toLocaleDateString(undefined);
ret.dateB = thisDates[1].toLocaleDateString(undefined);
return ret;
});
files = files.sort((a, b) => a.fortnigt - b.fortnigt);