From: Operating system: Windows 7 64bit PHP version: Irrelevant Package: *Data Exchange functions Bug Type: Bug Bug description:DateTime function error
Description: ------------ --- >From manual page: http://www.php.net/datetime.construct --- I have this error: Message: Error parsing date/time value: '29/02/2012' [wrapped: DateTime::__construct() [datetime.--construct]: Failed to parse time string (29/02/2012) at position 0 (2): Unexpected character] The year 2012 is a leap year, and the date 2012/02/29 it's correct! This error occurs in a writing operation on the database; I am using framework Propel for this. Expected result: ---------------- I expect no error with dates of a leap years -- Edit bug report at https://bugs.php.net/bug.php?id=61215&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61215&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61215&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61215&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=61215&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61215&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=61215&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=61215&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=61215&r=needscript Try newer version: https://bugs.php.net/fix.php?id=61215&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=61215&r=support Expected behavior: https://bugs.php.net/fix.php?id=61215&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=61215&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=61215&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=61215&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61215&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=61215&r=dst IIS Stability: https://bugs.php.net/fix.php?id=61215&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=61215&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=61215&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=61215&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=61215&r=mysqlcfg
