Doc #69687 [Opn->Csd]: Undocumented date format YY"W"w
| From: | marksolly at gmail dot com | Date: | Fri, 22 May 2015 02:07:13 +0000 |
| Subject: | Doc #69687 [Opn->Csd]: Undocumented date format YY"W"w | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12356@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69687&edit=1
ID: 69687
User updated by: marksolly at gmail dot com
Reported by: marksolly at gmail dot com
Summary: Undocumented date format YY"W"w
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Not a bug. Feature is (counter intuitively) documented at:
http://php.net/manual/en/datetime.formats.compound.php
Previous Comments:
------------------------------------------------------------------------
[2015-05-22 01:54:55] marksolly at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/datetime.formats.date
---
Used Symbols table is missing the "ww" symbol. This denotes the ISO-8601 week number.
ISO8601 Notations table is missing the YY"W"ww notation.
Example: 2012W46 = 2012-11-12T00:00:00+00:00
Test script:
---------------
echo date('c', strtotime('2012W46'));
2012-11-12T00:00:00+00:00
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69687&edit=1