MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / fromClickhouseDate

Function fromClickhouseDate

packages/db/src/buffers/session-buffer.ts:56–60  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

54}
55
56function fromClickhouseDate(s: string): Date {
57 return DateTime.fromFormat(s, 'yyyy-MM-dd HH:mm:ss.SSS', {
58 zone: 'UTC',
59 }).toJSDate();
60}
61
62function pickUtm(
63 payload: IServiceCreateEventPayload,

Callers 2

ingestMethod · 0.85
extendSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected