Use DateTimeFormat::utc() instead of DBM::date()
This commit is contained in:
parent
c55e389bbc
commit
8ddb94ef06
7 changed files with 15 additions and 12 deletions
|
@ -480,9 +480,9 @@ function networkThreadedView(App $a, $update, $parent)
|
|||
$rawmode = (isset($_GET['mode']) AND ( $_GET['mode'] == 'raw'));
|
||||
|
||||
if (isset($_GET['last_received']) && isset($_GET['last_commented']) && isset($_GET['last_created']) && isset($_GET['last_id'])) {
|
||||
$last_received = DBM::date($_GET['last_received']);
|
||||
$last_commented = DBM::date($_GET['last_commented']);
|
||||
$last_created = DBM::date($_GET['last_created']);
|
||||
$last_received = DateTimeFormat::utc($_GET['last_received']);
|
||||
$last_commented = DateTimeFormat::utc($_GET['last_commented']);
|
||||
$last_created = DateTimeFormat::utc($_GET['last_created']);
|
||||
$last_id = intval($_GET['last_id']);
|
||||
} else {
|
||||
$last_received = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue