#35474 [Opn->Bgs]: Error in date() Examples

From: Date: Tue, 29 Nov 2005 12:32:29 +0000
Subject: #35474 [Opn->Bgs]: Error in date() Examples
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969371045@lists.php.net to get a copy of this message
ID: 35474 Updated by: sniper@php.net Reported By: dave at ilovejackdaniels dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Any PHP Version: Irrelevant New Comment: Not inside single quotes. Previous Comments: ------------------------------------------------------------------------ [2005-11-29 13:23:02] dave at ilovejackdaniels dot com Description: ------------ There is an error in the examples of date() usage: $today = date('\i\t \i\s \t\h\e jS \d\a\y.'); // It is the 10th day. and: $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:03:17 m is month \t in date() will produce a tab rather than a "t". The "t"s above should be double-escaped, or the outputs should be changed to show tabs instead of "t"s. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35474&edit=1

« previous php.doc (#969371045) next »