Skip to content

Use global timezone for admin query - #1382

Open
Rader wants to merge 1 commit into
mainfrom
sync_mr_2864_7e45183
Open

Use global timezone for admin query#1382
Rader wants to merge 1 commit into
mainfrom
sync_mr_2864_7e45183

Conversation

@Rader

@Rader Rader commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Fixed incorrect admin data export queries caused by parseDeployQueryTime hardcoding time.UTC instead of using the frontend's actual timezone (UTC+8), which shifted query ranges by 8 hours.
  • Refactored parseDeployQueryTime and related functions into ClusterHandler methods to access the global timezone config (STARHUB_SERVER_TIMEZONE, defaulting to Asia/Shanghai), with a UTC fallback on load failure.

@Rader

Rader commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1381

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.

2 participants