Fixing an issue with external tables containing time only fields.

This commit is contained in:
mike12345567 2022-09-07 17:57:02 +01:00
parent 758514a018
commit 673c375934
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ exports.processDates = (table, rows) => {
if (schema.type !== FieldTypes.DATETIME) { if (schema.type !== FieldTypes.DATETIME) {
continue continue
} }
if (!schema.ignoreTimezones) { if (!schema.timeOnly && !schema.ignoreTimezones) {
datesWithTZ.push(column) datesWithTZ.push(column)
} }
} }