When i use the datetime ,i found the value is not the current local time
so i see your github code ,i found you transfer date to ISOString by toISOString function,
but i can set the props "keepOffset" to prevent the transfer
when i set keepOffset true,it did't work
so i see you node_modules source code ,you just delete the props "keepOffset"
i am so angry, your code is different between github and node_module
.......................................................
the github code is below :
formik-antd/src/date-picker/index.tsx
When i use the datetime ,i found the value is not the current local time so i see your github code ,i found you transfer date to ISOString by toISOString function, but i can set the props "keepOffset" to prevent the transfer when i set keepOffset true,it did't work so i see you node_modules source code ,you just delete the props "keepOffset" i am so angry, your code is different between github and node_module
....................................................... the github code is below : formik-antd/src/date-picker/index.tsx
export const DatePicker = ({ name, validate, onChange, fast, keepOffset, ...restProps }: DatePickerProps) => (
)
export default DatePicker
the node_module code is
export const DatePicker = ({ name, validate, onChange, fast, ...restProps }: DatePickerProps) => (
)
export default DatePicker