ZF-7295: Zend_Date toString('e') function counts weekdays now from 0
Description
The Zend_Date toString() function with parameter 'e' counts weekdays now from 0 instate from 1 like it is written in the documentation.
The Zend_Date toString() function with parameter 'e' counts weekdays now from 0 instate from 1 like it is written in the documentation.
Comments
Posted by Thomas Weidner (thomas) on 2009-07-25T15:10:09.000+0000
'e' which is equal to WEEKDAY_DIGIT counts from 0 to 6 as mentioned in the manual.
I have not found a description where it was mentioned that it counts from 1 to 7 (which is only the case for WEEKDAY_8601).
Posted by Thomas Weidner (thomas) on 2009-07-25T15:15:00.000+0000
Mentioned issue not reproducable.
Fixed only a wrong constant (which also uses 0-6) but no description like mentioned from the reporter has been found.