Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default time #385

Open
HelloNosco opened this issue Jun 3, 2024 · 0 comments
Open

Change default time #385

HelloNosco opened this issue Jun 3, 2024 · 0 comments

Comments

@HelloNosco
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant