Skip to content

Commit

Permalink
default date format
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBouzinFiligran committed Sep 19, 2024
1 parent 979956a commit 94e6c02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const WidgetHorizontalBars = ({
const newTimestamp = parseInt(value, 10);
if (!Number.isNaN(newTimestamp)) {
const convertedDate = timestamp(newTimestamp);
const date = dateFormat(convertedDate, 'YYYY-MM-DD' as string);
const date = dateFormat(convertedDate);
if (date) return date;
}
return value;
Expand Down

0 comments on commit 94e6c02

Please sign in to comment.