1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00

Sort the releases.

This commit is contained in:
Adam Harvey
2016-02-16 17:30:07 +00:00
parent b24bc33e8f
commit 195ccdf280

View File

@@ -22,6 +22,7 @@ XML;
$FEED_UPDATED = 0;
$RELEASED_VERSIONS = array_merge($RELEASES[5], $RELEASES[7]);
krsort($RELEASED_VERSIONS);
foreach ($RELEASED_VERSIONS as $version => $release) {
$published = date(DATE_ATOM, strtotime($release["source"][0]["date"]));
if ($release["announcement"]) {