Allow use of timezone names
bdalpe opened this issue · 2 comments
bdalpe commented
Allow use of "America/Chicago" based time zone definitions in the lookup file instead of just static offsets like -5. (From @FusionFC)
bdalpe commented
I think this is possible with the toLocaleString
function.
bdalpe commented
Even better... https://docs.cribl.io/logstream/cribl-reference/#time
C.Time.adjustTZ(epochTime: number, tzTo: string, tzFrom?: string): number
e.g. C.Time.adjustTZ(_time, 'UTC', 'America/Chicago')