mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
fix UTC timezone for CH query
This commit is contained in:
parent
e45d014042
commit
1d78cc4950
@ -41,7 +41,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
|
||||
}
|
||||
|
||||
async function clickhouseQuery(websiteId: string, filters: QueryFilters) {
|
||||
const { timezone = 'utc', unit = 'day' } = filters;
|
||||
const { timezone = 'UTC', unit = 'day' } = filters;
|
||||
const { rawQuery, getDateQuery, parseFilters } = clickhouse;
|
||||
const { filterQuery, params } = await parseFilters(websiteId, {
|
||||
...filters,
|
||||
|
Loading…
Reference in New Issue
Block a user