feat(dashboard): format date'

This commit is contained in:
2025-11-15 08:39:23 +02:00
parent 1a0abbabaf
commit e7585aa76c
2 changed files with 2 additions and 2 deletions
@@ -95,7 +95,7 @@ export function SourcePublicationgGraphChart({ sourceId }: Props) {
axisLine={false}
dataKey="date"
minTickGap={32}
tickFormatter={(value) => formatDate(new Date(value).toISOString())}
tickFormatter={(value) => formatDate(value)}
tickLine={false}
tickMargin={8}
/>
@@ -61,7 +61,7 @@ export function SourceCard({ source }: { source: SourceDetails }) {
axisLine={false}
dataKey="date"
minTickGap={32}
tickFormatter={(value) => formatDate(new Date(value).toISOString())}
tickFormatter={(value) => formatDate(value)}
tickLine={false}
tickMargin={8}
/>