henninghall / react-native-date-picker

React Native Date Picker is datetime picker for Android and iOS. It includes date, time and datetime picker modes. The datepicker is customizable and is supporting different languages. It's written with native code to achieve the best possible look, feel and performance.
MIT License
2.21k stars 338 forks source link

Error: Exception in HostFunction: Non-whitespace character found after end of conversion: "-07-10T12:51:52.881Z" #840

Open bnv1223 opened 2 months ago

bnv1223 commented 2 months ago

Getting the error : Error: Exception in HostFunction: Non-whitespace character found after end of conversion: "-07-10T12:51:52.881Z"

"react": "18.2.0", "react-native": "0.74.1", "react-native-date-picker": "^5.0.4",

badrey commented 1 month ago

I made a fix which works for me. Had the same issue with new architecture enabled on Android https://github.com/henninghall/react-native-date-picker/pull/848

henninghall commented 1 month ago

Please provide example code where this issue is reproducible and I'll look into it

pasindupansiluvault commented 19 hours ago

Please provide example code where this issue is reproducible and I'll look into it

So the issue happens when using the component with modal={false} and newArchEnabled=true