1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Small bugfix on atom dates

This commit is contained in:
e107steved
2008-06-05 19:55:57 +00:00
parent 996d0322f3
commit dfb1655504

View File

@@ -391,7 +391,7 @@ class MagpieRSS {
$atom_date = (isset($item['issued']) ) ? $item['issued'] : $item['modified'];
if ( $atom_date ) {
$epoch = @parse_w3cdtf($item['modified']);
$epoch = @parse_w3cdtf($atom_date);
if ($epoch and $epoch > 0) {
$item['date_timestamp'] = $epoch;
}