mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-05-01 18:57:18 +00:00
Compare commits
2 Commits
554827cc57
...
f553cc059a
Author | SHA1 | Date | |
---|---|---|---|
f553cc059a | |||
c99d4f6f0f |
@ -67,6 +67,8 @@
|
||||
|
||||
packageInfoVariablesDiv.empty();
|
||||
|
||||
packageInfoLogsInput.empty();
|
||||
|
||||
packageInfoModal.trigger("reset");
|
||||
});
|
||||
|
||||
|
@ -83,6 +83,6 @@
|
||||
|
||||
Date.prototype.toISOStringShort = function() {
|
||||
const pad = number => String(number).padStart(2, "0");
|
||||
return `${this.getFullYear()}-${pad(this.getMonth())}-${pad(this.getDate())} ${pad(this.getHours())}:${pad(this.getMinutes())}:${pad(this.getSeconds())}`;
|
||||
return `${this.getFullYear()}-${pad(this.getMonth() + 1)}-${pad(this.getDate())} ${pad(this.getHours())}:${pad(this.getMinutes())}:${pad(this.getSeconds())}`;
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user