php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41893 date_format availability : 5.1 or 5.2?
Submitted: 2007-07-04 13:00 UTC Modified: 2007-12-12 16:01 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: sircam at free dot fr Assigned: nlopess (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: n/a
Private report: No CVE-ID: None
 [2007-07-04 13:00 UTC] sircam at free dot fr
Description:
------------
In which version is date_format() available?

According to the EN version:

http://fr.php.net/manual/en/function.date-format.php

(PHP 5 >= 5.1.0)
date_format ? Returns date formatted according to given format

In the French documentation:

http://fr.php.net/manual/fr/function.date-format.php

(PHP 5 >= 5.2.0)
date_format ? Retourne la date mis en forme dans le format donn?

I believe the latter is correct - available as of 5.2.0.

Expected result:
----------------
Documentation should read

(PHP 5 >= 5.2.0)
date_format ? Returns date formatted according to given format

Actual result:
--------------
Documentation reads

(PHP 5 >= 5.1.0)
date_format ? Returns date formatted according to given format

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-12 16:01 UTC] felipe@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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 12:01:33 2025 UTC