#421: Bug in AgaviDateFormatter
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: dominik
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: date | Version: 0.11.0RC2
Severity: normal | Keywords: dateformat, integer
timestamp,
--------------------------------------------+-------------------------------
If an int is passed to the DateFormatter (via TranslationManager::_d()),
the dateformatter creates an AgaviCalendarInstance and overwrites the
passed-in date before trying to read it again, resulting in the following
error message:
'''Notice: Object of class AgaviGregorianCalendar could not be converted
to
int in /data/projects/agavi/0.11/src/date/AgaviCalendar.class.php on
line 246'''
a patch that resolves the issue is attached.
--
Ticket URL: <http://trac.agavi.org/ticket/421>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets