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...

Comments

dww’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

Attached 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.

karens’s picture

Status: Needs review » Fixed

Right, fix committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.