Skip to content

Commit

Permalink
fix indexing data
Browse files Browse the repository at this point in the history
  • Loading branch information
wulff007 committed Oct 30, 2024
1 parent 76af860 commit 6a79d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data-indexer/internal.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export class InternalAdapter extends IndexerDataAdapter {
} else if (field.type === 'date') {
console.log(val)
val = val ? dayjs(val)
.utc(false)
.set('hour', 0)
.set('minute', 0)
.set('second', 0)
.set('millisecond', 0)
.utc(false)
.valueOf()
: null

Expand Down

0 comments on commit 6a79d13

Please sign in to comment.