mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
oops
This commit is contained in:
@@ -840,7 +840,7 @@ function kleeja_date($time, $human_time = true, $format = false)
|
||||
define('TIME_FORMAT', 'd-m-Y h:i a'); // to be moved to configs later
|
||||
}
|
||||
|
||||
if (! empty($config['time_zone']) && strpos($config['time_zone'], '/'))
|
||||
if (! empty($config['time_zone']) && strpos($config['time_zone'], '/') !== false)
|
||||
{
|
||||
$timezone_offset = timezone_offset_get(new DateTimeZone($config['time_zone']), new DateTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user