Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Nov 25, 2024
2 parents 9019c8d + 345709a commit 9b73f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/data-transforms/src/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const getFieldSchema = (
if (includeEnum && values?.length > 1) {
if (schema.type === 'string') {
const isDates = values.every((d) => !isNaN(Date.parse(d)))
const isNumeric = values.some((d) => parseCoords(d, d))
const isNumeric = values.every((d) => parseCoords(d, d))
if (isDates) {
const valuesOrdered = values.sort((a, b) => a - b)
schema.type = 'timestamp'
Expand Down

0 comments on commit 9b73f50

Please sign in to comment.