#30034 [Opn->Asn]: date('zS') does not always return the correct value

From: Date: Thu, 09 Sep 2004 06:08:03 +0000
Subject: #30034 [Opn->Asn]: date('zS') does not always return the correct value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65949@lists.php.net to get a copy of this message
ID: 30034 Updated by: derick@php.net Reported By: michael at michaelthompson dot org -Status: Open +Status: Assigned Bug Type: Date/time related -Operating System: FreeBSD 4.8 +Operating System: * PHP Version: 4.3.8 -Assigned To: +Assigned To: derick New Comment: Confirmed on Linux too, having a look now. Previous Comments: ------------------------------------------------------------------------ [2004-09-09 06:37:17] michael at michaelthompson dot org Description: ------------ date('zS') does not return the correct value on/above(?) day 251 Reproduce code: --------------- date('zS'); # on (after ?) day 251 Expected result: ---------------- 251st Actual result: -------------- 251th ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30034&edit=1

« previous php.bugs (#65949) next »