We don't seem to need the date formatting

2022.09-rc
Michael 2020-09-27 05:27:52 +00:00
rodzic 55aa9c1cca
commit de9cd9881c
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -36,7 +36,6 @@ use Friendica\DI;
use Friendica\Model\Item; use Friendica\Model\Item;
use Friendica\Model\User; use Friendica\Model\User;
use Friendica\Network\HTTPException; use Friendica\Network\HTTPException;
use Friendica\Util\DateTimeFormat;
class Community extends BaseModule class Community extends BaseModule
{ {
@ -155,7 +154,7 @@ class Community extends BaseModule
$query_parameters['max_id'] = $_GET['max_id']; $query_parameters['max_id'] = $_GET['max_id'];
} }
if (!empty($_GET['last_commented'])) { if (!empty($_GET['last_commented'])) {
$query_parameters['max_id'] = DateTimeFormat::utc($_GET['last_commented']); $query_parameters['max_id'] = $_GET['last_commented'];
} }
$path_all = $path . (!empty($query_parameters) ? '?' . http_build_query($query_parameters) : ''); $path_all = $path . (!empty($query_parameters) ? '?' . http_build_query($query_parameters) : '');