Skip to content

Commit 59f5019

Browse files
author
Robert Crocker
committed
Changed periods to dashes to help make it more clear that these are dates.
1 parent bf93c4c commit 59f5019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const Tooltip = ({
142142
let xValString = data[xKey as string];
143143
if (data[xKey as string] instanceof Date) {
144144
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
145-
xValString = `${xValString.getFullYear()}.${xValString.getMonth()}.${xValString.getDay()}`;
145+
xValString = `${xValString.getFullYear()}-${xValString.getMonth()}-${xValString.getDay()}`;
146146
}
147147

148148
let yValString = data[yKey as string];

0 commit comments

Comments
 (0)