Use settings timezone in revenue chart date range

Fixkamo-analytics
Shipped
25 Machi 2026, 09:39 UTC
Author
Serhii Zghama
Commit
e6f3f3b

The revenue chart was using the browser's local timezone instead of the timezone configured in analytics settings. This caused the chart to show different time boundaries than the stats shown in the header (total, average, transactions). The fix mirrors the same pattern used by EventsChart: pass timezone from useTimezone() into useDateRange() so that parseDateRange() computes start/end dates relative to the correct timezone. Fixes #4107

All changes

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei