fix(client): consolidate usage of date/time as UTC in transfering (#509)

This commit is contained in:
Junyi 2022-06-16 16:33:40 +08:00 committed by GitHub
parent e044d389f0
commit bf11cff804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}
},
};
};
};