Skip to content

Commit 239c2d5

Browse files
committed
chore: remove redundant date to utc conversion
1 parent 0ee70d8 commit 239c2d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/frontend/src/components/questionnaire/PeriodForm.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export function PeriodForm({ onSave, actionLabel }: PeriodFormProps) {
2424
const f = useForm<PeriodFormValues>({
2525
mode: "uncontrolled",
2626
transformValues(values) {
27-
values.range[0] = dayjs(values.range[0]).utc().toDate();
2827
values.range[1] = dayjs(values.range[1]).utc().endOf("month").toDate();
2928

3029
return values;

0 commit comments

Comments
 (0)