Doc #61179 [Opn->Csd]: Use of getOffset in procedural style example

From: Date: Sat, 25 Feb 2012 16:18:04 +0000
Subject: Doc #61179 [Opn->Csd]: Use of getOffset in procedural style example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8002@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61179&edit=1 ID: 61179 Updated by: salathe@php.net Reported by: ciprian dot stingu at gmail dot com Summary: Use of getOffset in procedural style example -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2012-02-25 16:17:54] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=323517 Log: use date_offset_get() in procedural example (doc #61179) ------------------------------------------------------------------------ [2012-02-24 22:10:49] ciprian dot stingu at gmail dot com Description: ------------ --- From manual page: http://www.php.net/datetime.getoffset --- In procedural style example instead of echo $winter->getOffset() . "\n"; echo $summer->getOffset() . "\n"; should be echo date_offset_get($winter) . "\n"; echo date_offset_get($summer) . "\n"; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61179&edit=1

« previous php.doc.bugs (#8002) next »