1
1
Fork 0

Add Temporal::utc() shorthand to Temporal::convert()

This commit is contained in:
Hypolite Petovan 2018-01-26 07:29:32 -05:00
commit 35d06bd9eb
22 changed files with 173 additions and 128 deletions

View file

@ -225,7 +225,7 @@ function ping_init(App $a)
WHERE `event`.`uid` = %d AND `start` < '%s' AND `finish` > '%s' and `ignore` = 0
ORDER BY `start` ASC ",
intval(local_user()),
dbesc(Temporal::convert('now + 7 days')),
dbesc(Temporal::utc('now + 7 days')),
dbesc(Temporal::utcNow())
);
if (DBM::is_result($ev)) {