From: phpexpert at prologon dot ch Operating system: LINUX PHP version: 5.2CVS-2007-12-28 (CVS) PHP Bug Type: Calendar related Bug description: jd Functions not invertable
Description: ------------ Cascading unixtojd and jdtounix does not produce the original input. Reproduce code: --------------- jdtounix(unixtojd(1198450800)) Expected result: ---------------- since these are inverse functions, one would expect an unchanged result, independantly of localtime and daylightsaving issues: 1198450800 Actual result: -------------- 1198454400 which is one hour offsetresults in: 1198454400 which is one hour offset. -- Edit bug report at http://bugs.php.net/?id=43699&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43699&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43699&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43699&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43699&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43699&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43699&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43699&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43699&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43699&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43699&r=support Expected behavior: http://bugs.php.net/fix.php?id=43699&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43699&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43699&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43699&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43699&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43699&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43699&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43699&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43699&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43699&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43699&r=mysqlcfg