Content-Length: 249724 | pFad | http://github.com/songquanpeng/one-api/pull/2181

D0 fix:时区原因导致总览页面报错 by sz2013 · Pull Request #2181 · songquanpeng/one-api · GitHub
Skip to content

fix:时区原因导致总览页面报错 #2181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sz2013
Copy link

@sz2013 sz2013 commented Mar 10, 2025

我已确认该 PR 已自测通过,相关截图如下:

复现步骤:在中国时区8点前请求一次接口(非测试),产生一条消费日志,然后进入总览就会报错,原因如下图所示

PixPin_2025-03-10_00-25-46

PixPin_2025-03-10_00-13-26

dailyData没有今天的日期对象,导致报异常,修复为手动提取年月日,规避时区问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/songquanpeng/one-api/pull/2181

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy