#18779 [NEW]: Date("yz") returns wrong julian date
| From: | pdaugherty at cem dot va dot gov | Date: | Wed, 07 Aug 2002 12:16:33 +0000 |
| Subject: | #18779 [NEW]: Date("yz") returns wrong julian date | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16152@lists.php.net to get a copy of this message | ||
From: pdaugherty@cem.va.gov
Operating system: Redhat Linux 7.3 Kernal 2.4.18-5
PHP version: 4.2.1
PHP Bug Type: Date/time related
Bug description: Date("yz") returns wrong julian date
Date("yz") returns wrong julian date.
For 8/7/02, php funcion 'date("yz")' returns 02218, which is wrong. Php
function 'date("d-M-Y") returns 07-Aug-2002, which is correct. The shell
command "date +%j" returns the proper julian date of 219.
--
Edit bug report at http://bugs.php.net/?id=18779&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18779&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18779&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18779&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18779&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18779&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18779&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18779&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18779&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18779&r=globals