(date: Date)
| 48 | | { kind: 'boundary'; current: IClickhouseSession; closed: IClickhouseSession }; |
| 49 | |
| 50 | function toClickhouseDate(date: Date): string { |
| 51 | return DateTime.fromJSDate(date) |
| 52 | .setZone('UTC') |
| 53 | .toFormat('yyyy-MM-dd HH:mm:ss.SSS'); |
| 54 | } |
| 55 | |
| 56 | function fromClickhouseDate(s: string): Date { |
| 57 | return DateTime.fromFormat(s, 'yyyy-MM-dd HH:mm:ss.SSS', { |
no outgoing calls
no test coverage detected