mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Merge branch 'master' of github.com:e107inc/e107
This commit is contained in:
@@ -885,5 +885,18 @@ class convert
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Check if TimeZone is valid
|
||||
* @param $timezone
|
||||
* @return bool
|
||||
*/
|
||||
function isValidTimezone($timezone)
|
||||
{
|
||||
return in_array($timezone, timezone_identifiers_list());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user