fix: washing dates format
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
All checks were successful
it-academy/dry-wash-pl/pipeline/head This commit looks good
This commit is contained in:
parent
e73773f359
commit
5ed023866e
@ -1,6 +1,7 @@
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { getConfigValue } from '@brojs/cli';
|
import { getConfigValue } from '@brojs/cli';
|
||||||
import { InputProps, SelectProps } from "@chakra-ui/react";
|
import { InputProps, SelectProps } from "@chakra-ui/react";
|
||||||
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
import { Order } from "../../../models/landing";
|
import { Order } from "../../../models/landing";
|
||||||
|
|
||||||
@ -51,8 +52,8 @@ export const formatFormValues = ({ phone, carNumber, carBody, carColor, carLocat
|
|||||||
},
|
},
|
||||||
washing: {
|
washing: {
|
||||||
location: carLocation,
|
location: carLocation,
|
||||||
begin: availableDatetimeBegin,
|
begin: dayjs(availableDatetimeBegin).toISOString(),
|
||||||
end: availableDatetimeEnd,
|
end: dayjs(availableDatetimeEnd).toISOString(),
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user