Closed (works as designed)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Oct 2017 at 20:02 UTC
Updated:
17 Mar 2022 at 20:16 UTC
Jump to comment: Most recent
Comments
Comment #2
jrockowitz commentedThe datelist element supports date & time. There is no way to remove the time. You can control the formatting to display just the date without the time.
Comment #3
artis commented@jrockowitz: I was wondering if there is any change (since it's been 4 years) as to the possibility of having a Date List that stores only a date YYYY-MM-DD in the database like a Date field does. My use case prefers the select options but having timezones in the database is a headache when creating custom reports on submission data.
If this is still not possible with the core #datelist type, would you recommend that I create a separate custom webform element based on the Date element which displays
options like datelist? Or would it be better to provide a patch on the existing Date element in Webform to add this functionality? Which would you prefer as it could lead to confusing UI either way?
Thanks.