fix:end of day (#7426)
This commit is contained in:
parent
afd23f7ad8
commit
218380ba43
2 changed files with 3 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ const Logs: FC<ILogsProps> = ({ appDetail }) => {
|
|||
...(queryParams.period !== 'all'
|
||||
? {
|
||||
start: dayjs().subtract(queryParams.period as number, 'day').startOf('day').format('YYYY-MM-DD HH:mm'),
|
||||
end: dayjs().format('YYYY-MM-DD HH:mm'),
|
||||
end: dayjs().endOf('day').format('YYYY-MM-DD HH:mm'),
|
||||
}
|
||||
: {}),
|
||||
...omit(queryParams, ['period']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue