diff --git a/src/Save.js b/src/Save.js index 0b636ac..8f662e1 100644 --- a/src/Save.js +++ b/src/Save.js @@ -3,7 +3,7 @@ export class Save { let localID = localStorage.getItem("id") this.id = 0 let now = new Date() - this.name = now.getFullYear() + "." + (now.getMonth() + 1)+ "." + now.getDate() + "-" + now.getHours() + "h" + now.getMinutes() + "-" + now.getSeconds() + "s" + this.name = now.getFullYear() + "." + (now.getMonth() + 1)+ "." + now.getDate() + "-" + now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds() if(localID !== null) { this.id = parseInt(localID) + 1 localStorage.setItem("id", this.id)