mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
修复了在编辑账户到期时间时,保存后显示时间相差8小时的问题。 问题原因: - datetime-local 输入框的值使用 new Date(string) 解析时 - 部分浏览器会错误地将其解释为 UTC 时间 - 导致保存和显示时出现时区转换不一致 解决方案: - 手动解析日期时间字符串的各个部分 - 使用 Date 构造函数明确创建本地时间对象 - 然后统一转换为 UTC ISO 字符串存储 - 确保时区转换的一致性 修改文件: - web/admin-spa/src/components/accounts/AccountExpiryEditModal.vue 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>