#26806 [Opn->Bgs]: date() does not support negative timestamps now even on Linux.

From: Date: Tue, 06 Jan 2004 03:36:34 +0000
Subject: #26806 [Opn->Bgs]: date() does not support negative timestamps now even on Linux.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52844@lists.php.net to get a copy of this message
ID: 26806 Updated by: iliaa@php.net Reported By: terence at monmon dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Redhat 8.0 PHP Version: 4.3.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is because your libc does not support them. Previous Comments: ------------------------------------------------------------------------ [2004-01-05 22:08:57] terence at monmon dot com Description: ------------ date() does not support negative timestamps on Linux. Previous version can. Reproduce code: --------------- echo date("j M Y", -100) ; Expected result: ---------------- Obviously not 1 Jan 1970 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26806&edit=1

« previous php.bugs (#52844) next »