Closed (fixed)
Project:
Date
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
28 Nov 2008 at 22:12 UTC
Updated:
13 Dec 2008 at 14:21 UTC
Jump to comment: Most recent file
in date/date_elements.inc in DRUPAL-6--2 branch, revision 1.46.2.2.2.36 completely removed all calls to date_timezone_convert().
in the DRUPAL-5--2 branch, revision 1.22.2.40 still left a call to date_timezone_convert() inside function date_local_date() which results in undefined PHP function errors when you try to edit a node with a CCK date field using the latest 5.x-2.x-dev.
Rolled a patch, just testing it now...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 340356_date_elements_no_date_timezone_convert.1.d5.patch | 1.08 KB | dww |
Comments
Comment #1
dwwAttached patch takes the missing code from DRUPAL-6--2 and backports to DRUPAL-5--2. Works with my testing, but you should probably make sure I didn't mess something up.
Also, directly below the effected lines, in D6 there was an additional test for is_object($date) which I also backported. Seemed safe and reasonable.
Comment #2
karens commentedRight, fix committed. Thanks!