Use settings timezone in revenue chart date range

Fixkamo-analytics
Shipped
25 مارس 2026 في 9: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

مثل ما ترى الشحن؟?

كل واحد من هذه تحديثات الأراضي في مكان عملك تلقائيا. ابدأوا بالمجان وشاهدوها تنمو بعد أسبوع.

ابدأوا حراً للأبدخصخصة الفيو