#743: AgaviDateFormatter::translate() might kill DateTime's DateTimeZone object
-------------------------+--------------------------------------------------
 Reporter:  david        |       Owner:  david 
     Type:  defect       |      Status:  new   
 Priority:  normal       |   Milestone:  0.11.1
Component:  translation  |     Version:  0.11.0
 Severity:  major        |    Keywords:        
Has_patch:  0            |  
-------------------------+--------------------------------------------------
 If a {{{DateTime}}} is passed in, then
 {{{
 $cal = $this->context->getTranslationManager()->createCalendar(new
 DateTime($message));
 }}}
 seems to kill the {{{DateTimeZone}}} object in the {{{DateTime}}} under
 odd, not quite reproducible circumstances

 solution: don't create a new {{{DateTime}}} :)

-- 
Ticket URL: <http://trac.agavi.org/ticket/743>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to