Replace deprecated method.

This commit is contained in:
James Cole
2022-03-27 20:24:13 +02:00
parent 8ee4c2ea11
commit cbf14f541c
39 changed files with 140 additions and 123 deletions

View File

@@ -369,7 +369,7 @@ class General extends AbstractExtension
function (string $date, string $format): string {
$carbon = new Carbon($date);
return $carbon->formatLocalized($format);
return $carbon->isoFormat($format);
}
);
}