From: [EMAIL PROTECTED] Operating system: * PHP version: 4.3.6 PHP Bug Type: Date/time related Bug description: mktime doesn't handle three digit years correct
Description:
------------
mktime() doesn't handle three digit year values correct.
Reproduce code:
---------------
<?php
var_dump(date("Y", mktime(1, 2, 3, 4, 5, 123)));'
?>
Expected result:
----------------
string(4) "2123"
Actual result:
--------------
string(4) "2023"
--
Edit bug report at http://bugs.php.net/?id=28416&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28416&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28416&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28416&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28416&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28416&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28416&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28416&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28416&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28416&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28416&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28416&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28416&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28416&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28416&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28416&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28416&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28416&r=float
