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.
Currently the description for the role expiry date field suggests that the user input their date in the format "dd-mm-yyyy hh:mm:ss" - this is then being passed straight into the PHP strtotime function which unfortunately doesn't handle UK date formats correctly.
I would suggest the quickest solution to this is just to change the suggested date format to something more like UTC, i.e. yyyy-mm-dd that way we remove the confusion around UK and US date formats.
Comments
Comment #1
stewsnoozeI've made the change locally but I want to add SimpleTests before a new release.
Comment #2
stewsnoozeActually I can write simpletests any time. I've committed this change.
Good idea Mike. Thanks
Stew