Use settings timezone in revenue chart date range

Fixkamo-analytics
Shipped
March 25, 2026 at 9:39 AM 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

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing