diff --git a/plugins/system/tasknotification/tasknotification.php b/plugins/system/tasknotification/tasknotification.php index 8be57ffd4faaf..2d4f57354cbee 100644 --- a/plugins/system/tasknotification/tasknotification.php +++ b/plugins/system/tasknotification/tasknotification.php @@ -242,7 +242,7 @@ public function notifyFatalRecovery(Event $event): void */ private function getDataFromTask(Task $task): array { - $lockOrExecTime = Factory::getDate($task->get('locked') ?? $task->get('last_execution'))->toRFC822(); + $lockOrExecTime = Factory::getDate($task->get('locked') ?? $task->get('last_execution'))->format(Text::_('DATE_FORMAT_LC2')); return [ 'TASK_ID' => $task->get('id'),