#47713 [NEW]: Documentation for DateTime-Class should document if arbitary dates are allowed
From: privat at timohummel dot com
Operating system: Any
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Documentation for DateTime-Class should document if arbitary dates are allowed
Description:
------------
The DateTime manual page (http://de3.php.net/manual/en/class.datetime.php)
should document whether if it is possible to use arbitary dates or not -
e.g. Dates which are outside of the general Unix timestamp.
A quick test revealed that $dt = new DateTime("0010-01-01 00:01:00"); does
work, but it should be documented, and it should also be documented what
the limitations are.
--
Edit bug report at http://bugs.php.net/?id=47713&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47713&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47713&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47713&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47713&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47713&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47713&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47713&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47713&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47713&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47713&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47713&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47713&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47713&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47713&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47713&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47713&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47713&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47713&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47713&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47713&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47713&r=mysqlcfg
Thread (2 messages)
- privat at timohummel dot com