diff options
| author | zhangyu <[email protected]> | 2022-10-27 16:25:28 +0800 |
|---|---|---|
| committer | zhangyu <[email protected]> | 2022-10-27 16:25:28 +0800 |
| commit | d3f53630d42f38593da0034432a3bc606c3f60c8 (patch) | |
| tree | ed54bd12415b60aa13dd3d24ee83e71186148195 | |
| parent | 103a14b018d9ad44c2c8abe6f4c746d98015e324 (diff) | |
fix:修改 Appearance页面 时间偏移量显示不正确的问题rel-22.10.06
| -rw-r--r-- | nezha-fronted/src/components/page/config/basic.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nezha-fronted/src/components/page/config/basic.vue b/nezha-fronted/src/components/page/config/basic.vue index 2eb4db5dd..68a7357a9 100644 --- a/nezha-fronted/src/components/page/config/basic.vue +++ b/nezha-fronted/src/components/page/config/basic.vue @@ -208,7 +208,7 @@ export default { this.basic.lnglat = lnglat }, timezoneOptionHandler: function (offset) { - const offsetHour = (offset / 1000 / 60 / 60).toFixed(0) + const offsetHour = Math.floor((offset / 1000 / 60 / 60)) const offsetMinute = offset % (1000 * 60 * 60) / (1000 * 60) |
