Skip to content

Commit

Permalink
Remove now unused date_localized()
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Feb 7, 2024
1 parent c238407 commit ecada80
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Services/TwigBridge/Extensions/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ public function getFilters(): array
new Twig_SimpleFilter('format_date', function ($dateTime, $diffForHumans = true) {
return format_date($dateTime, $diffForHumans);
}),
new Twig_SimpleFilter('date_localized', function ($dateTime, $format) {
return carbon($dateTime)->formatLocalized($format);
}),
];
}
}

0 comments on commit ecada80

Please sign in to comment.