diff --git a/archive/entries/2018-06-06-1.xml b/archive/entries/2018-06-06-1.xml index 1dfba02c1..39e06a884 100644 --- a/archive/entries/2018-06-06-1.xml +++ b/archive/entries/2018-06-06-1.xml @@ -3,7 +3,7 @@ Southeast PHP Conference http://php.net/archive/2018.php#id2018-06-06-1 2018-06-06T11:02:22+00:00 - 2018-06-06T11:02:22+00:00 + 2018-06-06T11:02:22+00:00 2018-06-06 diff --git a/conferences/index.php b/conferences/index.php index a61cd2acf..f279da7f0 100644 --- a/conferences/index.php +++ b/conferences/index.php @@ -18,7 +18,7 @@ $panels = '

Want to foreach ((new NewsHandler())->getConferences() as $entry) { $link = preg_replace('~^(http://php.net/|https://www.php.net/)~', '', $entry["id"]); $id = parse_url($entry["id"], PHP_URL_FRAGMENT); - $date = date_format(date_create($entry["updated"]), 'Y-m-d'); + $date = date_format(date_create($entry["updated"] ?? $entry["published"]), 'Y-m-d'); $content .= '

'; $content .= '

' . $entry["title"] . '

'; $content .= '
';