Fix translation
This commit is contained in:
parent
bc4fb79f8c
commit
1ce7fcb90d
@ -2,6 +2,7 @@ import { LocalizationProvider } from "@mui/x-date-pickers";
|
|||||||
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
|
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
|
||||||
import { DatePicker } from "@mui/x-date-pickers/DatePicker";
|
import { DatePicker } from "@mui/x-date-pickers/DatePicker";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
import "dayjs/locale/fr";
|
||||||
import { fmtUnixDate } from "../../utils/time_utils";
|
import { fmtUnixDate } from "../../utils/time_utils";
|
||||||
import { PropEdit } from "./PropEdit";
|
import { PropEdit } from "./PropEdit";
|
||||||
|
|
||||||
@ -34,7 +35,7 @@ export function PropDateInput(p: {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ margin: "10px auto" }}>
|
<div style={{ margin: "10px auto" }}>
|
||||||
<LocalizationProvider dateAdapter={AdapterDayjs}>
|
<LocalizationProvider dateAdapter={AdapterDayjs} adapterLocale="fr">
|
||||||
<DatePicker
|
<DatePicker
|
||||||
label={p.label}
|
label={p.label}
|
||||||
value={value}
|
value={value}
|
||||||
|
Loading…
Reference in New Issue
Block a user