mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 00:53:33 +00:00
- 重写getSystemTimezoneDay函数,修复之前的双重偏移错误 - 简化时间计算逻辑,直接使用Date.UTC创建系统时区时间 - 移除不必要的getDateInSystemTimezone调用 问题原因: 之前的实现在计算系统时区日期时进行了双重偏移,导致时间范围错误 修复后: - 正确计算系统时区某一天的起止UTC时间 - "昨天"选项现在正确显示系统时区的完整一天(如29号0:00到29号23:59) - 适配所有时区的用户,不依赖用户浏览器时区 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>