We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf93c4c commit 59f5019Copy full SHA for 59f5019
src/components/Tooltip.tsx
@@ -142,7 +142,7 @@ const Tooltip = ({
142
let xValString = data[xKey as string];
143
if (data[xKey as string] instanceof Date) {
144
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
145
- xValString = `${xValString.getFullYear()}.${xValString.getMonth()}.${xValString.getDay()}`;
+ xValString = `${xValString.getFullYear()}-${xValString.getMonth()}-${xValString.getDay()}`;
146
}
147
148
let yValString = data[yKey as string];
0 commit comments