feat(dashboard): format date'
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user