In workflow.module, you do:

      if ($node->workflow_scheduled_date['month'] < 10) {
        $node->workflow_scheduled_date['month'] = '0' .
        $node->workflow_scheduled_date['month'];
      }

This is totally incorrect, if the month is already "01", then the if will return true and the result will be "001". Then the strtotime() fails.

You should use sprintf to reformat the date. Attaching a simple patch.

CommentFileSizeAuthor
#2 workflow_date2.patch1.05 KBmeba
workflow_date.patch1.24 KBmeba

Comments

meba’s picture

Any progress?

meba’s picture

StatusFileSize
new1.05 KB

Last patch didn't apply, rerolling.

Bastlynn’s picture

Status: Needs review » Closed (won't fix)

Since this request is over 2 years old, I'm going to assume a solution was found or you've moved on. If not, please get updated to the latest versions of all modules and make a patch for it against Drupal 7 and I'll be glad to take a look at it.