mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Display correct date for events/sessions.
This commit is contained in:
parent
78728b8706
commit
b11b2e3524
6 changed files with 39 additions and 17 deletions
|
|
@ -26,7 +26,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters, pagePar
|
|||
}
|
||||
|
||||
async function clickhouseQuery(websiteId: string, filters: QueryFilters, pageParams?: PageParams) {
|
||||
const { pagedQuery, parseFilters, getDateStringSQL } = clickhouse;
|
||||
const { pagedQuery, parseFilters } = clickhouse;
|
||||
const { params, dateQuery, filterQuery } = await parseFilters(websiteId, filters);
|
||||
const { query } = pageParams;
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
|
|||
event_id as id,
|
||||
website_id as websiteId,
|
||||
session_id as sessionId,
|
||||
${getDateStringSQL('created_at', 'second', filters.timezone)} as createdAt,
|
||||
created_at as createdAt,
|
||||
url_path as urlPath,
|
||||
url_query as urlQuery,
|
||||
referrer_path as referrerPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue