#47713 [Opn->Csd]: Documentation for DateTime-Class should document if arbitary dates are allowed

From: Date: Thu, 19 Nov 2009 11:39:36 +0000
Subject: #47713 [Opn->Csd]: Documentation for DateTime-Class should document if arbitary dates are allowed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3234@lists.php.net to get a copy of this message
 ID:               47713
 Updated by:       vrana@php.net
 Reported By:      privat at timohummel dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Any
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2009-03-19 06:03:50] privat at timohummel dot com

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 this bug report at http://bugs.php.net/?id=47713&edit=1



Thread (2 messages)

« previous php.doc.bugs (#3234) next »