#474: AgaviCalendar::getNativeDateTime() has one month offset [PATCH]
--------------------------------------------+-------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: _OTHER_ | Version: 0.11.0RC4
Severity: normal | Keywords:
--------------------------------------------+-------------------------------
The AgaviCalendar uses 0-Based month numbers and passes them straight into
the format string used to create the DateTime object. This leads to a -1
month offset. Patch attached.
The patch also changes the format string to use %d (integer) format
specifiers instead of %s (string). The numbers passed in are integers and
should be treated as such.
--
Ticket URL: <http://trac.agavi.org/ticket/474>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets