mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 20:25:04 -05:00
date -> time
This commit is contained in:
parent
ccd97009c9
commit
e53ddb92b4
@ -144,10 +144,8 @@ export function NewChart({ server }: { server: string }) {
|
|||||||
nameKey={activeChart}
|
nameKey={activeChart}
|
||||||
indicator="line"
|
indicator="line"
|
||||||
labelFormatter={(value) => {
|
labelFormatter={(value) => {
|
||||||
return new Date(value).toLocaleDateString("en-US", {
|
return new Date(value).toLocaleTimeString("en-US", {
|
||||||
month: "short",
|
timeStyle: "short",
|
||||||
day: "numeric",
|
|
||||||
year: "numeric",
|
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user