Skip to content

Commit 6af262a

Browse files
committed
use unified date format
1 parent d82608d commit 6af262a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conferences/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
foreach ((new NewsHandler())->getConferences() as $entry) {
1919
$link = preg_replace('~^(http://php.net/|https://www.php.net/)~', '', $entry["id"]);
2020
$id = parse_url($entry["id"], PHP_URL_FRAGMENT);
21-
$date = date_format(date_create($entry["updated"]), 'Y-m-d');
21+
$date = date_format(date_create($entry["updated"]), 'd M Y');
2222
$date_w3c = date_format(date_create($entry["updated"]), DATE_W3C);
2323

2424
$content .= '<div class="news__item" itemscope itemtype="https://schema.org/Event">';

0 commit comments

Comments
 (0)