mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-16 10:11:14 -04:00
implement timezone
This commit is contained in:
parent
1d64f643b1
commit
55bd6b6d7a
9 changed files with 441 additions and 384 deletions
|
@ -18,7 +18,8 @@ export default {
|
|||
|
||||
computed: {
|
||||
displayText() {
|
||||
return this.value
|
||||
let format = "YYYY-MM-DD HH:mm:ss";
|
||||
return dayjs.utc(this.value).tz(this.$root.timezone).format(format)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue