mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 23:11:00 +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)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@
|
||||
<label for="floatingPassword">Password</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check mb-3 mt-3">
|
||||
<div class="form-check mb-3 mt-3" >
|
||||
<label>
|
||||
<input type="checkbox" value="remember-me" class="form-check-input" id="remember" v-model="remember">
|
||||
|
||||
|
Reference in New Issue
Block a user