Skip to content

Commit 9ebb5b3

Browse files
authored
Improve timezones() return type.
timezones() can return either a specific timezone or the whole array.
1 parent d310726 commit 9ebb5b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/helpers/date_helper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ function timezone_menu($default = 'UTC', $class = '', $name = 'timezones', $attr
501501
* for various other ones in this library
502502
*
503503
* @param string timezone
504-
* @return string
504+
* @return string|array
505505
*/
506506
function timezones($tz = '')
507507
{

0 commit comments

Comments
 (0)