Closed (fixed)
Project:
Feed Element Mapper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jul 2009 at 02:21 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Arto commentedComment #2
Arto commentedTo clarify the logic: if a datetime has, say, a TZ offset of UTC+2, then adjusting it by +2h (as
mappers/feedapi_mapper_date.inccurrently does) doesn't reset it back to UTC but rather makes UTC+4, which is clearly incorrect.Thus, the adjustment must actually be performed as the opposite of the TZ sign; that is, in the case above the date must be adjusted by -2h. The attached patch, in my previous comment, takes care of this.
Comment #3
Arto commentedGuys, any chance of getting this one-line fix committed, please? We're having to repeatedly patch this downstream when we import new revisions of Feed Element Mapper.
Comment #4
alex_b commentedSorry for delay. Committed to 1.x and 2.x. This is part of the Beta 12 release: http://drupal.org/node/522420
Thank you.