Mercurial > hg > cmmr2012-drupal-site
diff core/modules/update/update.report.inc @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/modules/update/update.report.inc Thu Feb 28 13:11:55 2019 +0000 +++ b/core/modules/update/update.report.inc Thu May 09 15:34:47 2019 +0100 @@ -118,7 +118,7 @@ $variables['install_type'] = $project['install_type']; if ($project['install_type'] == 'dev' && !empty($project['datestamp'])) { - $variables['datestamp'] = format_date($project['datestamp'], 'custom', 'Y-M-d'); + $variables['datestamp'] = \Drupal::service('date.formatter')->format($project['datestamp'], 'custom', 'Y-M-d'); } $variables['existing_version'] = $project['existing_version'];