Skip to content

Commit

Permalink
Changed the date input to allow for milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Erallie committed Dec 5, 2024
1 parent c17f4e2 commit 0bf1011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class TimestampModal extends Modal {
}
})
const now = moment();
input.defaultValue = now.format("YYYY-MM-DD[T]kk:mm:ss");
input.value = now.format("YYYY-MM-DD[T]kk:mm:ss");
//#endregion

inputDiv.createEl('br');
Expand Down

0 comments on commit 0bf1011

Please sign in to comment.