Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2011 at 10:01 UTC
Updated:
7 May 2015 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jay-dee-ess commentedSubscribe
Comment #2
thijsvdanker commentedI've ported the patch from #987206: strtotime() in class FeedsDateTime breaks dates before 1901 to Drupal 7 and added a line to the test file to validate it.
Comment #3
thijsvdanker commentedComment #4
thijsvdanker commentedComment #6
thijsvdanker commentedTest was run against the alpha3 branch. Testbot please retest :)
Comment #8
thijsvdanker commentedPatch is green, could use a manual review here :)
Comment #9
megachrizPossible related issue in Migrate #1708296: Avoid Dec 13 1901 problem in strtotime..
Comment #10
megachrizClarifying issue title.
Comment #11
internal commentedI think the fix of Migrate module is clean, is it good for Feeds?
Comment #12
megachrizThe patch in #2 might be better, but I don't know enough about DateTime in PHP to be sure. The code changes are inside the FeedsDateTime class, which extends DateTime. I added the Migrate issue because it was mentioned in #2426433: import date field limited from 13 Dec 1901 20:45:54 UTC to Tue, 19 Jan 2038 which I closed as duplicate of this issue.
Comment #13
internal commentedI applied #2 patch and works well by now. I think it's safe to commit to the module code.
Comment #15
twistor commented