Issues

ZF-7873: Docs for Zend_Date constants is misleading

Issue Type: Docs: Improvement Created: 2009-09-17T09:46:05.000+0000 Last Updated: 2009-09-20T13:19:12.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Marcin Orlowski (borszczuk) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments: - Zend_Date-Constants.txt

Description

Docs for Zend_Date constants is misleading <http://framework.zend.com/manual/en/…>, for example:

"Table 14.11. Year Constants" on the page linked above reads:

Constant: Zend_Date::YEAR description: Year (number) Date: 2009-02-06T14:53:27+01:00 Result: 2009-02-06T14:53:27+01:00

First of all the result is "2009" only. After longer staring some people may notice slight italics applied to "2009" part of the current "result" but it does not change the fact that as this is technical docs result shall be exact one ("2009") not anything close. This applies to many other constants on that page as well, i.e. Zend_Date::DAY which, even worse is shown with boldface, italics and result in brackets. If I understand corectly, this is to point which one day is (in case US/EU users get confiused). If so, I filled another bug report how to solve this case: ZF-7872

Comments

Posted by Thomas Weidner (thomas) on 2009-09-20T13:19:12.000+0000

Changed as part of r18326

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