Use settings timezone in revenue chart date range

Fixkamo-analytics
Spegnimento
25 marzo 2026 alle ore 09:39 UTC
Autore
Serhii Zghama
Impegno
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

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo