Initially we used the user's time zone to cluster edits into daily stats, which caused T328643: CVE-2023-29137: GrowthExperiments: UserImpactHandler returns timezone preference data for arbitrary users. User data was removed in a quick-and-dirty way, but we should probably clean up the code.
We should probably use the wiki's time zone ($wgLocalTZoffset).