Skip to content

Commit

Permalink
fix timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Angelle committed Sep 15, 2023
1 parent 21d5069 commit 1020c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@ export function getPoolsModule(inst: Centrifuge) {
return data!.borrowerTransactions.nodes.map((tx) => ({
...tx,
amount: tx.amount ? new CurrencyBalance(tx.amount, currency.decimals) : undefined,
timestamp: new Date(tx.timestamp),
timestamp: new Date(`${tx.timestamp}+00:00`),
})) as unknown as BorrowerTransaction[]
})
)
Expand Down

0 comments on commit 1020c64

Please sign in to comment.