GitHub user SukiSeven created a discussion: Time Range Filters Are 1 Hour 
Behind CST (Asia/Shanghai)

My server timezone is CST (Asia/Shanghai).
However, the time range Filters in Superset are always 1 hour behind Chinese 
local time.

**Example**
Current time (server):
**2025-12-08 07:00 CST (Asia/Shanghai)**

When I use a filter such as “**Last Week**”, Superset generates this range:
2025-11-30 <= Filters field < 2025-12-07

But according to local time, it should already be:
2025-12-01 <= Filters field < 2025-12-08

Superset will not switch to the correct range until 08:00 CST.
So the Filters seem to be calculated using UTC+7 instead of UTC+8, or there is 
a timezone offset of 1 hour somewhere in the calculation.

Expected Behavior

Time range filters (such as Last Week / Last Day / This Week / Today) should 
follow the server’s CST timezone (UTC+8) and update ranges correctly at 07:00 
CST, not 08:00.

Actual Behavior

Filter ranges update one hour late compared to local CST time.

superset Version: 4.0.1

GitHub link: https://github.com/apache/superset/discussions/36449

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to