Doc #63662 [Opn->Asn]: Strftime documentation for %z & %Z is not (necessarily?) correct.
| From: | aharvey@php.net | Date: | Mon, 03 Dec 2012 01:35:19 +0000 |
| Subject: | Doc #63662 [Opn->Asn]: Strftime documentation for %z & %Z is not (necessarily?) correct. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9242@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63662&edit=1
ID: 63662
Updated by: aharvey@php.net
Reported by: zyzzyvette at gmail dot com
Summary: Strftime documentation for %z & %Z is not
(necessarily?) correct.
-Status: Open
+Status: Assigned
Type: Documentation Problem
Package: Date/time related
Operating System: Win7
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
Ah, Windows. Every time you need to guarantee an OS will get part of a spec wrong, there you are.
Previous Comments:
------------------------------------------------------------------------
[2012-11-30 22:55:55] zyzzyvette at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.strftime#refsect1-function.strftime-
parameters
---
Documentation says that %z returns either the abbreviation (e.g., PST) or the
offset (-0800), and that %Z will return the other one. But %z and %Z are both
giving me the same result, which is neither the abbreviation nor the offset but
the full timezone name ('Pacific Standard Time'). There are mentions of similar
problems in the comments, but the documentation hasn't been corrected.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63662&edit=1