aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/externals.php2
-rwxr-xr-xinclude/items.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/externals.php b/include/externals.php
index 8944524b7..ad2c71ac9 100644
--- a/include/externals.php
+++ b/include/externals.php
@@ -61,7 +61,7 @@ function externals_run($argv, $argc){
if($url) {
if($r[0]['site_pull'] !== '0000-00-00 00:00:00')
- $mindate = urlencode($r[0]['site_pull']);
+ $mindate = urlencode(datetime_convert('','',$r[0]['site_pull'] . ' - 1 day'));
else {
$days = get_config('externals','since_days');
if($days === false)
diff --git a/include/items.php b/include/items.php
index 7764d2f62..ca6737f8f 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4056,7 +4056,7 @@ function zot_feed($uid,$observer_xchan,$mindate) {
}
if($mindate != '0000-00-00 00:00:00') {
- $sql_extra .= " and created > '$mindate' ";
+ $sql_extra .= " and ( created > '$mindate' or edited > '$mindate' ) ";
$limit = "";
}
else