When mapping timestamps to CCK date fields date is always set to now

halstead - July 9, 2009 - 23:34
Project:Feed Element Mapper
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:halstead
Status:fixed
Description

It appears that date_constructor->set_value() in feedapi_mapper_date.inc doesn't know know what to do with timestamps. As a result unix style timestamps are always resolved as the current time.

#1

halstead - July 9, 2009 - 23:43
Status:active» needs review

It seems that letting the function know about the start_stamp and end_stamp keys fixes the problem.

AttachmentSize
feedapi_mapper-515166.patch 1.07 KB

#2

halstead - September 15, 2009 - 17:54
Assigned to:Anonymous» halstead

This still seems to be an issue. A fresh patch against HEAD is attached.

AttachmentSize
feedapi_mapper-515166.patch 1.04 KB

#3

halstead - November 19, 2009 - 22:27
Status:needs review» fixed

This appears to be committed into 6.x-1.3.

 
 

Drupal is a registered trademark of Dries Buytaert.