Closed (fixed)
Project:
Role Expire
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Sep 2009 at 06:22 UTC
Updated:
8 Oct 2009 at 09:50 UTC
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