#47974 [NEW]: strftime documentation page: %F example should use %Y, not %y
From: cl at broughton dot com
Operating system: Irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: strftime documentation page: %F example should use %Y, not %y
Description:
------------
in manual/en/function.strftime.php
function strftime - Format a local time/date
in "Time and Date Stamps"
in %F, text "Same as "%y-%m-%d" (commonly used in database datestamps)"
should use uppercase for %y, producing
"Same as "%Y-%m-%d" (commonly used in database datestamps)"
Reason: %y generates two digit year, but text refers to 4-digit year which
%Y will generate.
Many thanks in advance. PHP documentation is the best in the universe!
-bob
--
Edit bug report at http://bugs.php.net/?id=47974&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47974&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47974&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47974&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47974&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47974&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47974&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47974&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47974&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47974&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47974&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47974&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47974&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47974&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47974&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47974&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47974&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47974&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47974&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47974&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47974&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47974&r=mysqlcfg
Thread (2 messages)
- cl at broughton dot com