We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd51bd5 commit dad61a2Copy full SHA for dad61a2
packages/core/client/src/schema-component/antd/time-picker/TimePicker.tsx
@@ -27,10 +27,10 @@ export const mapTimeFormat = function () {
27
...props,
28
format,
29
inputReadOnly: true,
30
- value: dayjsable(props.value, format),
+ value: dayjsable(props.value, 'HH:mm:ss'),
31
onChange: (value: dayjs.Dayjs | dayjs.Dayjs[]) => {
32
if (onChange) {
33
- onChange(formatDayjsValue(value, format) || null);
+ onChange(formatDayjsValue(value, 'HH:mm:ss') || null);
34
}
35
},
36
};
0 commit comments