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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | workflow_date2.patch | 1.05 KB | meba |
| workflow_date.patch | 1.24 KB | meba |
Comments
Comment #1
meba commentedAny progress?
Comment #2
meba commentedLast patch didn't apply, rerolling.
Comment #3
Bastlynn commentedSince 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.