mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 07:11:52 +08:00
implement timezone
This commit is contained in:
@@ -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)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user