From: ivo at ibuildings dot nl Operating system: Redhat Linux PHP version: 4.3.0 PHP Bug Type: Date/time related Bug description: Valid solution for working with < 1969 dates
Hi, working with dates before 1970 with mktime sometimes works, sometimes doesn't. There are several bugs in the bug database describing this problem: bug #18802, bug #22163 and bug #20280. All are answered with stuff like "behaviour of mktime before 1970 is undefined", "it's not a php bug because it's due to glibc" etc. While all of these are most certainly true, it's not really a helpful answer to php users. PHP users just want to do stuff with dates. When working with birthdates, dates from before 1970 are quite common. Therefor, I request that the php date/time functions will be made such that they *work*, regardless of the operating system, the glibc version etc. Would you please consider doing this? -- Edit bug report at http://bugs.php.net/?id=22436&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22436&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22436&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22436&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22436&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22436&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22436&r=support Expected behavior: http://bugs.php.net/fix.php?id=22436&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22436&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22436&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22436&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22436&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22436&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22436&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22436&r=gnused