Skip to content

Commit

Permalink
fix: display valid date format (#3908)
Browse files Browse the repository at this point in the history
  • Loading branch information
herleraja authored Dec 20, 2024
1 parent 8a78651 commit 6258b68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export const handleTooltip = (
// If theres a time attribute, add an extra list item with the formatted date
if (timeDataSourceId) {
// generate the formatted label
const timestamp = typedData?.date?.getTime();
const timestamp = typedData?.date;
const dateLabel = timestamp
? `<li class='datapoint-tooltip'>
<p class='label'>
Expand Down

0 comments on commit 6258b68

Please sign in to comment.