- Issue created by @NicholasS
- πΊπΈUnited States NicholasS
This has been on our prod site for a few months as a local patch.
- Status changed to Needs review
over 1 year ago 7:40pm 5 June 2023 - last update
over 1 year ago 1 pass - last update
over 1 year ago 1 pass - πΊπΈUnited States NicholasS
Here is a better patch that supports and daterange end value as well. In the webform configuration settings you would have to dates separated by a "/".
- Merge request !3Fix issues: 3203912 (Empty Datetime fields are inserting current date and... β (Closed) created by NicholasS
- last update
12 months ago 1 pass - last update
12 months ago 1 pass - πΊπΈUnited States NicholasS
I have been running the previous patch in prod for years, but recently switched to the "smart date" module so I updated this patch to handle both the daterange field and the smart date field.
You basically pass the dates start and end dates from the webform like this. With a /slash between the two dates.
[webform_submission:values:start_date_time:html_datetime_short:nolabel]/[webform_submission:values:end_date_time:html_datetime_short:nolabel]
- last update
10 months ago 1 pass - Status changed to Fixed
7 months ago 10:52am 15 May 2024 - π΅πΉPortugal joaomarques736
Hello NicholasS,
Many thanks for your support. I will merge these changes in the new release: 4.0.9.
Best regards.
- Status changed to Fixed
7 months ago 10:54am 15 May 2024