Use settings timezone in revenue chart date range

Fixkamo-analytics
Dikirim
25 Maret 2026 pukul 09.39 UTC
Penulis
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

Semua perubahan

Seperti apa yang Anda lihat pengiriman?

Semua pembaruan ini secara otomatis mendarat di ruang kerja Anda. Mulai bebas dan menontonnya tumbuh minggu demi minggu.

Mulai Bebas SelamanyaTampilkan Harga