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

pat-datetime-picker is undocumented #1038

Open
jensens opened this issue Aug 10, 2022 · 4 comments
Open

pat-datetime-picker is undocumented #1038

jensens opened this issue Aug 10, 2022 · 4 comments

Comments

@jensens
Copy link
Member

jensens commented Aug 10, 2022

There not a single bit of documentation around for pat-datetime-picker.
Neither here https://patternslib.com/demos/index nor in its source.
Neither it exists in the Github labels.

Since this pattern is used by default in Plone 6 for any date/time related input this is very bad.

@jensens
Copy link
Member Author

jensens commented Aug 10, 2022

cc @ale-rt @thet

@jensens
Copy link
Member Author

jensens commented Aug 10, 2022

Update @petschki wrote on Discord: "it seems to me, that pat-date-picker is the successor of pat-datetime-picker".

@ale-rt
Copy link
Member

ale-rt commented Aug 22, 2022

Probably this helps: https://patternslib.com/demos/date-picker.
Anyway wait for @thet because he knows better!

@thet
Copy link
Member

thet commented Aug 22, 2022

The pat-date-time picker is undocumented because it's not an official pattern for the Patternslib distribution yet. I built it around 2016 in order to replace Pickadate for a customer project and used it for PLIP‌ 2150 plone/Products.CMFPlone#2150

My goal is to align it with the recent developments of pat-date-picker (e.g. allowing to make the date/time dependent on another date/time field and changing the date with an offset if the other changes - e.g. end date must be after start date, optionally showing a formatted date instead of the dateinput and allow only changing the dates via the calendar popup, etc.).

I'll do that as soon as time allows - if someone else wants to step in you're welcome!

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

No branches or pull requests

3 participants