fix: calculate date range for summary logs

This commit is contained in:
José Oliveira 2022-01-27 22:13:49 +00:00
parent 4450e19f1f
commit a48c1e312c

View file

@ -146,8 +146,8 @@ const DetailsRow = ({ it: tx, timezone }) => {
''
}
const from = sub({ minutes: MINUTES_OFFSET }, tx.created)
const until = add({ minutes: MINUTES_OFFSET }, tx.created)
const from = sub({ minutes: MINUTES_OFFSET }, new Date(tx.created))
const until = add({ minutes: MINUTES_OFFSET }, new Date(tx.created))
const downloadRawLogs = ({ id: txId, deviceId, txClass }, timezone) => {
fetchSummary({