Skip to content

Commit ced7685

Browse files
fix(DeadlinePicker): proper value formatting for presets
1 parent 400f203 commit ced7685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/shared/components/form/fields/complex/DeadlinePickerField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function calculateDeadlineOptions() {
3232
}
3333

3434
return usualDates.map((option) => ({
35-
value: option.toString(),
35+
value: dayjs(option).format("YYYY-MM-DD"),
3636
label: dayjs(option).format("DD/MM/YYYY"),
3737
}));
3838
}

0 commit comments

Comments
 (0)