parent
bbe05f523f
commit
66b9cace9f
|
@ -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 New Issue
Block a user