stephy / CalendarPicker

CalendarPicker Component for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change default time

HelloNosco opened this issue · comments

Hi, great tool :)
Since my user cannot select the time (expected behavior), i would like to set to midnight (00:00:00 GMT+0200).
Currently, it is set by default to 12:00:00 GMT+0200
Indeed, when i'm calling my backend with this date, i miss some data since it is waiting for midnight

I have a simple usage of this component :

onDateChange={onDateChange}
startFromMonday={true}
weekdays={['Lun','Mar','Mer','Jeu','Ven','Sam','Dim']}
textStyle={{
color: "#ffffffde",
fontWeight: "600"
}}

Many thanks :)