mirror of
https://github.com/friendica/friendica
synced 2024-11-18 13:03:41 +00:00
Changed:
- first parameter can be null
This commit is contained in:
parent
bbe05f523f
commit
66b9cace9f
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class Temporal
|
|||
*
|
||||
* @return string with relative date
|
||||
*/
|
||||
public static function getRelativeDate(string $posted_date, string $format = null): string
|
||||
public static function getRelativeDate(string $posted_date = null, string $format = null): string
|
||||
{
|
||||
$localtime = $posted_date . ' UTC';
|
||||
|
||||
|
|
Loading…
Reference in a new issue