ZF-11846: Zend_Date->getTimezoneFromString() fails to recognize timezones greater than UTC+12

Description

getTimezoneFromString() assumes that all timezone offsets are between -12 and +12. However, there are several timezones with an offset greater than that, such as New Zealand DST (UTC+13) and Pacific/Kiritimati (UTC+14).

Test case: {quote} $a = new Zend_Date(); var_dump($a->getTimezoneFromString('18:00:00+1300')); {quote} Output: string(3) "UTC" Expected output: string(10) "Etc/GMT-13"

Comments

patch