aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/MessageFilter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/MessageFilter.php b/Zotlabs/Lib/MessageFilter.php
index da7181f78..fa3d61244 100644
--- a/Zotlabs/Lib/MessageFilter.php
+++ b/Zotlabs/Lib/MessageFilter.php
@@ -44,7 +44,7 @@ class MessageFilter {
}
elseif (str_starts_with($word, 'until=')) {
$until = strtotime(trim(substr($word, 6)));
- if ($until > strtotime($item['created'])) {
+ if ($until > strtotime($item['created'] . ' UTC')) {
return false;
}
}
@@ -98,7 +98,7 @@ class MessageFilter {
}
elseif (str_starts_with($word, 'until=')) {
$until = strtotime(trim(substr($word, 6)));
- if ($until > strtotime($item['created'])) {
+ if ($until > strtotime($item['created'] . ' UTC')) {
return true;
}
}