fix: add timezone to specific tx logs
feat: pass timezone to details row
This commit is contained in:
parent
b5e35b82c2
commit
4e88c995d3
6 changed files with 34 additions and 18 deletions
|
|
@ -10,7 +10,7 @@ const resolvers = {
|
|||
logs.simpleGetMachineLogs(deviceId, from, until, limit, offset),
|
||||
machineLogsCsv: (...[, { deviceId, from, until, limit, offset, timezone }]) =>
|
||||
logs.simpleGetMachineLogs(deviceId, from, until, limit, offset)
|
||||
.then(res => parseAsync(dateFormat(timezone, res))),
|
||||
.then(res => parseAsync(logs.logDateFormat(timezone, res, ['timestamp']))),
|
||||
serverLogs: (...[, { from, until, limit, offset }]) =>
|
||||
serverLogs.getServerLogs(from, until, limit, offset),
|
||||
serverLogsCsv: (...[, { from, until, limit, offset, timezone }]) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue