#958: AgaviTimezone::createCustomTimeZone() should throw exceptions for
unparseable TZ strings
--------------------+-------------------------------------------------------
Reporter: felix | Owner: david
Type: task | Status: assigned
Priority: normal | Milestone: 1.0
Component: date | Version: 0.11.5
Severity: normal | Keywords:
Has_patch: 0 |
--------------------+-------------------------------------------------------
Changes (by david):
* type: defect => task
Old description:
> AgaviTimezone::createTimezone() can be used to create a timezone with a
> custom offset. However, if the string is not parseable, no exception gets
> thrown but instead, null is returned.
>
> This behaviour should be changed in 1.0
>
> See also #957 where returning null leads to using the default timezone.
New description:
AgaviTimezone::createCustomTimezone() can be used to create a timezone
with a custom offset. However, if the string is not parseable, no
exception gets thrown but instead, null is returned.
This behaviour should be changed in 1.0
See also #957 where returning null leads to using the default timezone.
--
--
Ticket URL: <http://trac.agavi.org/ticket/958#comment:8>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets