[sleeplog] Fixed typos in interface.html (3)

master
storm64 2022-05-24 10:44:09 +02:00
parent 7d4a61810e
commit 7d09a1229f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ function getFnList() {
files = files.map(file => {
var ret = {
filename: file,
fortnigt: file.match(/\\d{4})/)[0], // 1234
fortnigt: file.match(/\\d{4}/)[0], // 1234
};
ret.date = (ret.fortnigt + 0.25) * 12096E5;
ret.str = new Date(ret.date).toLocaleDateString(undefined) + " - " + new Date(ret.date + 12096E5).toLocaleDateString(undefined);