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.
Follow-up to: #501428: Date and time field type in core
Contrib to core upgrade paths are handled in contrib.
This code would be executed permanently whenever datetime module is installed on every single site and installation for the next 6+ years.
Comment | File | Size | Author |
---|---|---|---|
drupal8.datetime-install.0.patch | 934 bytes | sun | |
Comments
Comment #1
swentel CreditAttribution: swentel commentedComment #2
webchickYeah, I think this is right. It's one thing to put workaround code in hook_update_N() (which, while uncommon, is not entirely unprecedented; we've done it for Actions module in D6, for example), but we shouldn't be putting this kind of code in places that run on new sites.
In this case, seems like something DateTime module in contrib should be taking care of itself, so...
Committed and pushed to 8.x. Thanks!