diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/channel.php b/include/channel.php index ed46904e7..3ee2742b8 100644 --- a/include/channel.php +++ b/include/channel.php @@ -1041,11 +1041,11 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals // @fixme - Not totally certain how to handle $zot_compat for the event timezone which exists // in Hubzilla but is stored with the item and not the event. In Zap, stored information is - // always UTC and localised on access as per standard conventions for working with global time data. + // always UTC and localised on access as per standard conventions for working with global time data. // Older Zot (pre-Zot6) records aren't translated correctly w/r/t AS2 so only include events for the last year or so if - // migrating to Zap. - + // migrating to Zap. + $sqle = (($zap_compat) ? " and created > '2020-01-01 00:00:00' " : ''); $r = q("select * from event where uid = %d $sqle", |