--- scheduler.module.1.1+7 2013-04-28 13:16:16.000000000 +0100 +++ scheduler.module 2013-07-17 20:43:32.000000000 +0100 @@ -765,7 +765,7 @@ function _scheduler_publish() { $create_publishing_revision = variable_get('scheduler_publish_revision_' . $n->type, 0) == 1; if ($create_publishing_revision) { $n->revision = TRUE; - $n->log = "Node published by scheduler module. Original creation date was " . format_date($old_creation_date, 'custom', $date_format) . "."; + $n->log = t('Node published by scheduler module. Original creation date was @date.', array('@date' => format_date($old_creation_date, 'long'))); } // Unset publish_on so the node will not get rescheduled by subsequent calls // to node_save(). @@ -835,7 +835,7 @@ function _scheduler_unpublish() { $create_unpublishing_revision = variable_get('scheduler_unpublish_revision_' . $n->type, 0) == 1; if ($create_unpublishing_revision) { $n->revision = TRUE; - $n->log = "Node unpublished by scheduler module. Original change date was " . format_date($old_change_date, 'custom', $date_format) . "."; + $n->log = t('Node unpublished by scheduler module. Previous change date was @date.', array('@date' => format_date($old_change_date, 'long'))); } // Unset unpublish_on so the node will not get rescheduled by subsequent // calls to node_save().