feat(dashboard): format date'
This commit is contained in:
@@ -95,7 +95,7 @@ export function SourcePublicationgGraphChart({ sourceId }: Props) {
|
|||||||
axisLine={false}
|
axisLine={false}
|
||||||
dataKey="date"
|
dataKey="date"
|
||||||
minTickGap={32}
|
minTickGap={32}
|
||||||
tickFormatter={(value) => formatDate(new Date(value).toISOString())}
|
tickFormatter={(value) => formatDate(value)}
|
||||||
tickLine={false}
|
tickLine={false}
|
||||||
tickMargin={8}
|
tickMargin={8}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export function SourceCard({ source }: { source: SourceDetails }) {
|
|||||||
axisLine={false}
|
axisLine={false}
|
||||||
dataKey="date"
|
dataKey="date"
|
||||||
minTickGap={32}
|
minTickGap={32}
|
||||||
tickFormatter={(value) => formatDate(new Date(value).toISOString())}
|
tickFormatter={(value) => formatDate(value)}
|
||||||
tickLine={false}
|
tickLine={false}
|
||||||
tickMargin={8}
|
tickMargin={8}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user