Issues

ZF-7295: Zend_Date toString('e') function counts weekdays now from 0

Issue Type: Docs: Problem Created: 2009-07-16T04:54:56.000+0000 Last Updated: 2009-07-25T15:15:01.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: matelewski (matelewski) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments:

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

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts