mirror of
https://github.com/friendica/friendica
synced 2024-11-10 15:42:54 +00:00
Merge https://github.com/friendica/friendica into pull
This commit is contained in:
commit
24bf4632af
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ function datetime_convert($from = 'UTC', $to = 'UTC', $s = 'now', $fmt = "Y-m-d
|
|||
$from = 'UTC';
|
||||
if($to === '')
|
||||
$to = 'UTC';
|
||||
if($s === '' || (! is_string($s)))
|
||||
if( ($s === '') || (! is_string($s)) )
|
||||
$s = 'now';
|
||||
|
||||
// Slight hackish adjustment so that 'zero' datetime actually returns what is intended
|
||||
|
|
Loading…
Reference in a new issue