Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
That's actually by design because these fields are all completely separate and don't know about each other. The date repeat form is an API that can be used by any module any place they need it, so it can't make any assumptions about what its being attached to.
It would be better to find a way to make it match, though, and I intended to get to it at some point. It will require some thought about how to do it without really cluttering up the API.
I can see from your point of view you don't want the code to be a mess, but I just know my users are going to look at it and complain that it's confusing and inconsistent. To them it'll just look badly designed.
Can't the call to the Repeat API for the form item include an optional format parameter?
OK, I need to get all the possible form elements working as options in the Date Repeat form, so I'm working this into that fix (#292617: Date Repeat errors when Date Popup module is turned off). The date repeat form will use the same widget as the regular date.
Comments
Comment #1
karens commentedThat's actually by design because these fields are all completely separate and don't know about each other. The date repeat form is an API that can be used by any module any place they need it, so it can't make any assumptions about what its being attached to.
It would be better to find a way to make it match, though, and I intended to get to it at some point. It will require some thought about how to do it without really cluttering up the API.
Comment #2
karens commentedAnd this is actually a Date issue, since that's where this code is.
Comment #3
joachim commentedI can see from your point of view you don't want the code to be a mess, but I just know my users are going to look at it and complain that it's confusing and inconsistent. To them it'll just look badly designed.
Can't the call to the Repeat API for the form item include an optional format parameter?
Comment #4
karens commentedOK, I need to get all the possible form elements working as options in the Date Repeat form, so I'm working this into that fix (#292617: Date Repeat errors when Date Popup module is turned off). The date repeat form will use the same widget as the regular date.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.