backdrop-contrib / date_all_day

GNU General Public License v2.0
2 stars 2 forks source link

Support date HTML5 widget of Backdrop core #9

Open olafgrabienski opened 1 year ago

olafgrabienski commented 1 year ago

When I choose the HTML5 widget in the settings of my Date field, the setting "Display all day checkbox" is missing.

The HTML5 date field widget was added to Backdrop 1.23 (see core issue 4255). As far as I understand, the Date All Day module doesn't support the widget yet. It would be great if the support could be added.

olafgrabienski commented 1 year ago

Interesting: When I enable the "Date All Day" module and use the HTML5 date field widget, I have three options to display a date without time, setting the time input to one of the following values:

The latter gets btw also saved, when you leave the time input empty. I guess the exact value depends on the timezone of the website, which in my case is UTC+2.

Two limitations remain, though:

olafgrabienski commented 1 year ago

02:00 (...) gets btw also saved, when you leave the time input empty. I guess the exact value depends on the timezone of the website, which in my case is UTC+2.

I'm wondering if it's better to specify a time value like 00:00 or to leave the value empty. Does anybody know what will happen in either case e.g. when daylight saving time starts or ends?

olafgrabienski commented 8 months ago

There is a similar issue for the Date Repeat module, see https://github.com/backdrop-contrib/date_repeat/issues/23.