mirror of https://github.com/espruino/BangleApps
[sleeplog] Update interface.html
parent
5a7360b64f
commit
e1f4364ab0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue