For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2005 > #34600 [NEW]: Documentation error: day missing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #34600 [NEW]: Documentation error: day missing
shy at weblab dot pt

2005-09-22, 6:56 pm

From: shy at weblab dot pt
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Documentation error: day missing

Description:
------------
From the documentation for the date() faunction:

N ISO-8601 numeric representation of the day of the w (added in PHP
5.1.0) 1 (for Monday) through 7 (for Saturday)

"Monday through Saturday" — we're missing Sunday, here, ain't we?!

This way it's actually impossible to know wether the counting starts on
Sunday or on Monday.


--
Edit bug report at http://bugs.php.net/?id=34600&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34600&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34600&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34600&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34600&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34600&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34600&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34600&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34600&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34600&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34600&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34600&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34600&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34600&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34600&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34600&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34600&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34600&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34600&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34600&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34600&r=mysqlcfg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com