fix(client): consolidate usage of date/time as UTC in transfering (#509)
This commit is contained in:
parent
e044d389f0
commit
bf11cff804
@ -32,12 +32,6 @@ export const mapDateFormat = function () {
|
||||
...props,
|
||||
format: format,
|
||||
value: props.value && moment(props.value).isValid() ? moment(props.value) : undefined,
|
||||
// value: momentable(props.value, format === 'YYYY-wo' ? 'YYYY-w' : format),
|
||||
onChange: (value: moment.Moment | moment.Moment[]) => {
|
||||
if (onChange) {
|
||||
onChange(formatMomentValue(value, format));
|
||||
}
|
||||
},
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user