Merge pull request #86 from saperduper/master

handle future pubDate
This commit is contained in:
Andrew Dolgov 2013-03-25 22:06:51 -07:00
commit 5894fa4131

View file

@ -435,7 +435,7 @@
$entry_timestamp = strtotime($item->get_date());
if ($entry_timestamp == -1 || !$entry_timestamp) {
if ($entry_timestamp == -1 || !$entry_timestamp || $entry_timestamp > time()) {
$entry_timestamp = time();
$no_orig_date = 'true';
} else {