Skip to content

Commit ba2bafc

Browse files
P2GRpocketarc
authored andcommitted
Improve timezones() return type.
timezones() can return either a specific timezone or the whole array.
1 parent 28467ba commit ba2bafc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/helpers/date_helper.php

Lines changed: 1 addition & 1 deletion
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)