mirror of
https://github.com/friendica/friendica
synced 2025-04-24 05:10:11 +00:00
Add Temporal::utc() shorthand to Temporal::convert()
This commit is contained in:
parent
ca8209a2ce
commit
35d06bd9eb
22 changed files with 173 additions and 128 deletions
|
@ -301,7 +301,7 @@ class Post extends BaseObject
|
|||
|
||||
$comment = $this->getCommentBox($indent);
|
||||
|
||||
if (strcmp(Temporal::convert($item['created']), Temporal::convert('now - 12 hours')) > 0) {
|
||||
if (strcmp(Temporal::utc($item['created']), Temporal::utc('now - 12 hours')) > 0) {
|
||||
$shiny = 'shiny';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue