mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 02:06:01 +00:00
fix: remove duplicated typecheck
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user