[Bug 493727] [NEW] date('Y') returns 0000 on big endian machines
Dennis
dvierkant at hotmail.com
Mon Dec 7 19:29:39 GMT 2009
Public bug reported:
Binary package hint: php5
Problem: date('Y') returns 0000 on big endian machines (instead of 2009)
using: Ubuntu 9.10 on a PowerPC
package: php5
version: 5.2.10.dfsg.1-2ubuntu6.3
It's a known bug in PHP:
http://bugs.php.net/bug.php?id=48276
This page shows a diff to fix it, a one character edit:
http://forums.matrix.squiz.net/index.php?showtopic=6607
This date problem causes serious problems in many PHP applications, even
cookies with an expiration date no longer work due to the incorrect
year.
** Affects: php5 (Ubuntu)
Importance: Undecided
Status: New
--
date('Y') returns 0000 on big endian machines
https://bugs.launchpad.net/bugs/493727
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list