Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Okay, with a lot of hacking around in FAPI I have finally fixed this. The main reason I didn't use date was there's no such thing as an optional date. using #after_build and #element_validate I've fixed this.
Comments
Comment #1
aidanlis commentedAlthough you're incorrect as strtotime will use whatever locale you have set on your server, I agree that this is not a nice UI.
Comment #2
aidanlis commentedOkay, with a lot of hacking around in FAPI I have finally fixed this. The main reason I didn't use date was there's no such thing as an optional date. using #after_build and #element_validate I've fixed this.