Skip to content

Commit

Permalink
Merge pull request #30 from criblpacks/bug/29-fix-correlation-tz
Browse files Browse the repository at this point in the history
Fix issue with time logic
  • Loading branch information
bdalpe authored Sep 21, 2023
2 parents f385eaa + 9021233 commit 305001f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default/pipelines/pan_correlation/conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ functions:
srcField: generated_time
dstField: _time
defaultTimezone: utc
timeExpression: "__tz ? (time.getTime() / 1000) + (__tz * 3600) :
(time.getTime() / 1000)"
timeExpression: "__tz ? C.Time.adjustTZ(time.getTime(), 'UTC', __tz) / 1000 :
time.getTime() / 1000"
offset: 0
maxLen: 150
defaultTime: now
Expand Down

0 comments on commit 305001f

Please sign in to comment.