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 11, 2023
1 parent 2415bef commit 7849a1d
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 @@ -2109,7 +2109,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 7849a1d

Please sign in to comment.