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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user