Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The parameter to date_validate is actually a form field, not a whole form. See patch for D5.3
Comment | File | Size | Author |
---|---|---|---|
date_validate.patch | 817 bytes | lyricnz | |
Comments
Comment #1
lyricnz CreditAttribution: lyricnz commentedPatch also applies to D6 with an offset.
Comment #2
lyricnz CreditAttribution: lyricnz commentedAlso in D7. Sheesh.
Comment #3
cafuego CreditAttribution: cafuego commentedYup, works for me!
Comment #4
cweagans+1 from me as well.
Moving to 7.x. 5.x is no longer maintained. This actually might need to be set to 8.x and then backported to 7.x, but I'm guessing that it'll still apply the same, so I guess it doesn't matter =P
Comment #5
scor CreditAttribution: scor commenteddate_validate.patch queued for re-testing.
Comment #7
lyricnz CreditAttribution: lyricnz commenteddate_validate.patch queued for re-testing.
Comment #8
lyricnz CreditAttribution: lyricnz commentedResetting to RTBC, stupid patchbot.
Comment #9
webchickComment #10
webchickCommitted to 8.x and 7.x.
Looks like this applies to 6.x too (with patch -p0).
Comment #11
webchickx
Comment #12
lyricnz CreditAttribution: lyricnz commentedIf it applies, it's good to go. Change has no external impact.
Comment #13
Gábor HojtsySuperb, committed, thanks. I never imagined we even have a date field type in Drupal 6 :)
Comment #14
cweagansThat was probably the coolest patch ever.
Applied to three different major versions of Drupal? Impressive. =P