mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Fix multiple issues: tracker multiple execution, credentials configurable, exclude-hash, and other fixes
This commit is contained in:
parent
d590c6b078
commit
46532f0778
23 changed files with 553 additions and 30 deletions
17
contributions/timezone-consistency-fix.js
Normal file
17
contributions/timezone-consistency-fix.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// Fix for issue #3700: Chart timezone is different from realtime page
|
||||
// File: src/queries/sql/getRealtimeData.ts
|
||||
|
||||
// Pass timezone to all function calls (around line 24):
|
||||
/*
|
||||
// Extract timezone from filters to ensure consistent timezone usage
|
||||
const { timezone = 'utc' } = filters;
|
||||
|
||||
// Pass timezone to the stats functions to ensure consistent time formatting
|
||||
const statsFilters = { ...filters, timezone };
|
||||
|
||||
const [activity, pageviews, sessions] = await Promise.all([
|
||||
getRealtimeActivity(websiteId, statsFilters), // Pass statsFilters instead of filters
|
||||
getPageviewStats(websiteId, statsFilters),
|
||||
getSessionStats(websiteId, statsFilters),
|
||||
]);
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue