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

Use different date time picker library #102

Open
UVLabs opened this issue Mar 27, 2023 · 0 comments · May be fixed by #104
Open

Use different date time picker library #102

UVLabs opened this issue Mar 27, 2023 · 0 comments · May be fixed by #104

Comments

@UVLabs
Copy link
Contributor

UVLabs commented Mar 27, 2023

Right now this framework is using jquery datepicker for the datepicker field type and another library for the timepicker

The site hosting the docs for the timepicker seems to be no longer available: https://web.archive.org/web/20220122113558/https://fgelinas.com/code/timepicker/

Actually, it seems like you're using jqueryui timepicker, so the doc link in the example file is wrong.

Both the timepicker and datepicker libraries are not really the best out there...I suggest adding flatpicker as the lib of choice, it can handle both date and time options: https://flatpickr.js.org/

Its baked into jQuery but I think a dedicated version of it should be coupled with the framework like was done with the jquery datepicker currently in there.

For backwards compatibility, a new field types for flatpicker can be created and called something like datetime

@UVLabs UVLabs linked a pull request Mar 27, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant