2026年 03月 27日 星期五 18:13:55 CST

This commit is contained in:
ysm 2026-03-27 18:13:55 +08:00
parent 624621d60e
commit 4123846056

View File

@ -122,7 +122,7 @@ function App() {
const [showTimezone, setShowTimezone] = useState(() => {
// 从 localStorage 读取,默认显示时区 (true)
const saved = localStorage.getItem('clock-showTimezone')
return saved === null ? true : saved === 'true'
return saved === null ? false : saved === 'true'
})
// 切换样式时保存到 localStorage