Skip to content

Commit

Permalink
fix: remove deprecated TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Sep 4, 2020
1 parent b01199c commit 548f01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controllers/Partials/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static function getPublicationDate($format = false)
if ($date !== '') {
$parts = explode('-', $date);
if (count($parts) === 3) {
return date_i18n($format, strtotime($date)); // TODO: Fix this
return date_i18n($format, strtotime($date));
}
if (count($parts) === 2) {
return date_i18n('F Y', strtotime($date));
Expand Down

0 comments on commit 548f01b

Please sign in to comment.