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

A couple of small problems #827

Open
GaLzZy opened this issue Feb 6, 2025 · 2 comments
Open

A couple of small problems #827

GaLzZy opened this issue Feb 6, 2025 · 2 comments

Comments

@GaLzZy
Copy link

GaLzZy commented Feb 6, 2025

Hi! I am using the DateTimePicker in my rails app and here are a couple problems I am encountering:

First problem is that if I don't use validateOnBlur when using a custom format option, the input always goes back to current date and time.

Second problem is that whenever I first load my page, even though the lang is set to 'fr' and I also changed it in the js file of the datetimepicker to 'fr', it is always in english until I open it a first time.

Last problem for now is that whenever I reopen the date time picker after choosing a date, the selected date in the picker always goes back to current date and time...

Hope anyone can help with that =)

Thanks!

@manstevo
Copy link

manstevo commented Feb 6, 2025

Let me handle that

@GaLzZy
Copy link
Author

GaLzZy commented Feb 7, 2025

Any update on this?

Also I seem to be having some problems because I use multiple .datetimepicker in the same page... Is it supposed to work correctly? Cause whenever i set the value of one it seems to be setting the value of the other... I use $(".datetimepicker[name='picker_name']").datetimepicker to select them is that okay?

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

2 participants