Skip to content

Commit

Permalink
fix UTC timezone for CH query
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscao633 committed Aug 15, 2023
1 parent e45d014 commit 1d78cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries/analytics/events/getEventMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1d78cc4

Please sign in to comment.