Problem
Feeds Xpath Parser converts strings formatted as a 12-hour time with "AM" or "PM" into 24-hour time, even when the parser is mapped to a plain text field.
Steps to Reproduce
- Create a Content type with a plain text field, unlimited number of values allowed in the field
- Map an XPath XML Parser to that plain text field
- Source XML feed: http://explorecourses.stanford.edu/CourseSearch/search?view=xml-20130201...
- XPath Parser Context: //courses/course
- XPath: sections/section/schedules/schedule/startTime
- The value of the 6th XML matching element in that XML feed is "1:15:00 PM"
Expected Result
Time field is populated formatted as "1:15:00 PM"
Actual Result
Time field is populated as "13:15:00". Even when you set the query to return raw XML, it returns:<startTime>13:15:00</startTime>
I was able to reproduce this on a clean install on simplytest.me with only Feeds and Feeds XPath Parser installed.
Thank you!