1
1
Fork 0

Add Temporal::utcNow()

This commit is contained in:
Hypolite Petovan 2018-01-25 23:26:51 -05:00
commit 8aff8a76eb
51 changed files with 191 additions and 180 deletions

View file

@ -130,7 +130,7 @@ function profile_photo_post(App $a) {
// so that browsers will do a cache update unconditionally
$r = q("UPDATE `contact` SET `avatar-date` = '%s' WHERE `self` = 1 AND `uid` = %d",
dbesc(Temporal::convert()),
dbesc(Temporal::utcNow()),
intval(local_user())
);
@ -230,7 +230,7 @@ function profile_photo_content(App $a) {
);
$r = q("UPDATE `contact` SET `avatar-date` = '%s' WHERE `self` = 1 AND `uid` = %d",
dbesc(Temporal::convert()),
dbesc(Temporal::utcNow()),
intval(local_user())
);