Call to deprecated function format_date()

 

Change 

format_date(

 to:

Drupal::service('date.formatter')->format(

 

 

Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!