Skip to content

Commit

Permalink
Bump by 1 handled times
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and Mytherin committed Feb 16, 2024
1 parent 77cda68 commit f1dc93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/duckdb-wasm/test/all_types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const FULLY_IMPLEMENTED_ANSWER_MAP: AnswerObjectType = {

// Note that we multiply by thousand (and add 999 for the max) because the value returned by DuckDB is in microseconds,
// whereas the Date object is in milliseconds.
time: [BigInt(0), BigInt(new Date('1970-01-01T23:59:59.999+00:00').valueOf()) * BigInt(1000) + BigInt(999), null],
time: [BigInt(0), BigInt(new Date('1970-01-01T23:59:59.999+00:00').valueOf()) * BigInt(1000) + BigInt(1000), null],
interval: [new Int32Array([0, 0]), new Int32Array([0, 0]), null],

float: [-3.4028234663852886e38, 3.4028234663852886e38, null],
Expand Down

0 comments on commit f1dc93a

Please sign in to comment.