mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-31 10:52:35 +02:00
Add unix timestamp to monitor.created_date
This commit is contained in:
parent
efd7608ba2
commit
dde4abea49
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ export default {
|
|||
this.processing = true;
|
||||
|
||||
if (this.isAdd) {
|
||||
this.monitor.created_date = Math.floor(new Date() / 1000);
|
||||
this.$root.add(this.monitor, (res) => {
|
||||
this.processing = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue