diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php index bb1a4c770..d1c43eeb0 100644 --- a/functions.php +++ b/functions.php @@ -253,6 +253,7 @@ $rss_2_date = $item['pubdate']; $rss_1_date = $item['dc']['date']; $atom_date = $item['issued']; + if (!$atom_date) $atom_date = $item['updated']; if ($atom_date != "") $entry_timestamp = parse_w3cdtf($atom_date); if ($rss_1_date != "") $entry_timestamp = parse_w3cdtf($rss_1_date); |