View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015671||phpList 3 application||User Management||public||30-01-12 18:53||23-05-12 01:00|
|Target Version||Fixed in Version||2.11.7|
|Summary||0015671: Function parseDate() does not allow valid dates|
|Description||There are some serious errors in the function parseDate() in file admin/connect.php.|
It refers to a non-existant variable $value that means the only allowed date format is dd-mm-yyyy.
Additionally the processing for the date format yyyy-mm-dd uses incorrect regex matches (it should be matches 2,3,1 not 3,1,1).
This is actually in version 2.10.17, but the drop down list for Product Version does not include that.
See attached file for a corrected version of the function.
|Tags||No tags attached.|
parseDate.php (866 bytes)
marking it for 2.11, unless you think it's breaking something crucial in 2.10, in which case it can go there.
Well, it is stopping the import of date fields in YYYY-MM-DD format, which is probably the most common date format people use. That sounds like a serious break to me. As I have provided a fix I think that it should go into the next release, 2.10.18.
In general, shouldn't fixes be applied to the next release? If not, then that's a discouragement to people reporting problems.
||applied to trunk as well as 2.10 branch|