Commit 211db405 authored by alexpott's avatar alexpott

Issue #2403097 by sergei_brill: Update format_date docblock (incorrect @see)

parent 3ae4f118
......@@ -420,7 +420,7 @@ function format_size($size, $langcode = NULL) {
* @return
* A translated date string in the requested format.
*
* @see \Drupal\Component\Datetime\DateFormatter::format()
* @see \Drupal\Core\Datetime\DateFormatter::format()
*/
function format_date($timestamp, $type = 'medium', $format = '', $timezone = NULL, $langcode = NULL) {
return \Drupal::service('date.formatter')->format($timestamp, $type, $format, $timezone, $langcode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment