php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51924 Missing MySQL datetime format in list of valid formats
Submitted: 2010-05-26 17:19 UTC Modified: 2010-10-20 06:20 UTC
From: george at providentdata dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2010-05-26 17:19 UTC] george at providentdata dot com
Description:
------------
The page:

http://www.php.net/manual/en/datetime.formats.compound.php

lists datetime formats that are accepted by eg. strtotime() and such.

These functions accept the MySQL datetime format:
YY "-" MM "-" DD " " HH ":" II ":" SS
but the format isn't listed.

Closest formats listed are EXIF:
YY ":" MM ":" DD " " HH ":" II ":" SS

and WDDX:
YY "-" mm "-" dd "T" hh ":" ii ":" ss

neither of whose format strings match MySQL.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-20 02:21 UTC] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=304519
Log: Fixed bug #51924 (Missing MySQL datetime format in list of valid formats)
 [2010-10-20 02:22 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-10-20 02:22 UTC] kalle@php.net
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.


 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=e1f7f5aecfbff94e0c39962e44f4581f46d6062b
Log: Fixed bug #51924 (Missing MySQL datetime format in list of valid formats)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC