php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75028 Wrong example
Submitted: 2017-08-03 09:20 UTC Modified: 2017-08-03 09:31 UTC
From: lombardi dot nd at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: -
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lombardi dot nd at gmail dot com
New email:
PHP Version: OS:

 

 [2017-08-03 09:20 UTC] lombardi dot nd at gmail dot com
Description:
------------
At page: http://de.php.net/manual/en/function.strftime.php

On the Year section there is an example saying:

"Example: 2008 for the week of January 3, 2009"

Expected result:
----------------
"Example: 2009 for the week of January 3, 2009"

Actual result:
--------------
"Example: 2008 for the week of January 3, 2009"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-03 09:31 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2017-08-03 09:31 UTC] requinix@php.net
Read the description next to it. Then keep reading until you find out why 2008 is correct.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC