php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64869 [RU] Broken DateTime documentation
Submitted: 2013-05-17 11:20 UTC Modified: 2013-10-15 11:54 UTC
Votes:1
Avg. Score:2.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: rand0m05 at inbox dot ru Assigned:
Status: No Feedback Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-05-17 11:20 UTC] rand0m05 at inbox dot ru
Description:
------------
In first example on page http://www.php.net/manual/ru/datetime.diff.php must be string
echo $interval->format('%R%d дней');
instead of
echo $interval->format('%R% дней');
(russian language)


---
From manual page: http://www.php.net/datetime.diff#refsect1-datetime.diff-examples
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-24 23:24 UTC] philip@php.net
-Summary: Lost letter d +Summary: [RU] Broken DateTime documentation -Status: Open +Status: Verified -Package: Documentation problem +Package: Translation problem
 [2013-06-24 23:24 UTC] philip@php.net
And now this function (and I assume others) is missing from the Russian 
translation. Compare:

http://php.net/manual/ru/book.datetime.php
http://php.net/manual/en/book.datetime.php
 [2013-06-25 07:15 UTC] rand0m05 at inbox dot ru
-Status: Verified +Status: Closed
 [2013-06-25 07:15 UTC] rand0m05 at inbox dot ru
What? Function DateInterval::format() is in the function list now.
But incorrect example was deleted from it description page, OK.
 [2013-06-25 15:50 UTC] philip@php.net
-Status: Closed +Status: Feedback
 [2013-06-25 15:50 UTC] philip@php.net
This is about diff, so for example:

http://php.net/manual/en/class.datetimeinterface.php (exists)
http://php.net/manual/en/class.datetimeinterface.php (does not exist)

Or more specifically:

http://php.net/manual/en/datetime.diff.php (exists)
http://php.net/manual/ru/datetime.diff.php (does not exist)
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC