#958: AgaviTimezone::createCustomTimeZone() returns null on unparseable TZ
string
--------------------+-------------------------------------------------------
Reporter: felix | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 1.0
Component: date | Version: 0.11.5
Severity: normal | Keywords:
Has_patch: 0 |
--------------------+-------------------------------------------------------
Comment(by anonymous):
Because we use 'null' in the api in the sense of 'use the default
timezone'. And an unparseable string does not imply 'default timezone'.
Returning null on empty string or null input would seem logical to me.
--
Ticket URL: <http://trac.agavi.org/ticket/958#comment:5>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets