Issues

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.

Comments

'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).

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.