Needs review
Project:
Feed Element Mapper
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
19 Aug 2009 at 13:46 UTC
Updated:
19 Aug 2009 at 13:46 UTC
While writing #552480: More extensive tests in feedapi_mapper_date.test, I realized that the following mapping does not work:
Wed, 08/19/2009 - 12:16 -> start_date
It tries rigidly to append the start_time to the end of the source string, so the date parsing (date_create) will fail.
I'd say it's not user-friendly enough. I changed this behaviour.
Also i replaced an isset to an is_object to avoid warnings if somehow the date parsing really fails.
| Comment | File | Size | Author |
|---|---|---|---|
| date_more_flexible.patch | 2.52 KB | aron novak |