Skip to content

Commit 267043f

Browse files
authored
fix format dates (#34)
1 parent 803cefa commit 267043f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dashboard/log-analyzer/src/components/metrics/GenericCounter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export function GenericCounter({
9090

9191
const params = {
9292
column_name: columnName,
93-
start_date: start_date || format(defaultStartDate, 'yyyy-MM-dd'),
94-
end_date: end_date || format(defaultEndDate, 'yyyy-MM-dd'),
93+
start_date: start_date || format(defaultStartDate, 'yyyy-MM-dd HH:mm:ss'),
94+
end_date: end_date || format(defaultEndDate, 'yyyy-MM-dd HH:mm:ss'),
9595
service: columnName !== 'service' ? service : undefined,
9696
level: columnName !== 'level' ? level : undefined,
9797
environment: columnName !== 'environment' ? environment : undefined,

0 commit comments

Comments
 (0)