fix: remove duplicated typecheck

This commit is contained in:
Nybkox
2025-04-29 01:57:42 +02:00
parent 9390ab3c6c
commit 070e955b89

View File

@@ -43,11 +43,6 @@ function _normalizeValue(value) {
return value.toDouble();
}
if (value instanceof DuckDBTimestampValue) {
const date = new Date(Number(value.micros / 1000n));
return date.toISOString();
}
if (value instanceof DuckDBDateValue) {
const year = value.year;
const month = String(value.month).padStart(2, '0');