Skip to content

Commit

Permalink
Merge pull request #191 from MeasureAuthoringTool/MAT-6185
Browse files Browse the repository at this point in the history
MAT-6185: update dateTimeField component to use utc adapter.
  • Loading branch information
mcmcphillips authored Oct 11, 2023
2 parents 1e0d307 + 43f1204 commit e6c4e3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions react/components/DateTimeField/DateTimeField.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ import InputLabel from "../InputLabel";
import { DateTimePicker } from "@mui/x-date-pickers/DateTimePicker";
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider";
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs";
import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc';

import { FormControl } from "@mui/material";
import { kebabCase } from "lodash";

dayjs.extend(utc)
export const dateTimeTextFieldStyle = {
width: "240px",
borderRadius: "3px",
Expand Down

0 comments on commit e6c4e3f

Please sign in to comment.