Bug #66403 [NEW]: datetime bug week add
| From: | amaladossjoelshelley at gmail dot com | Date: | Fri, 03 Jan 2014 14:29:24 +0000 |
| Subject: | Bug #66403 [NEW]: datetime bug week add | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183564@lists.php.net to get a copy of this message | ||
From: amaladossjoelshelley at gmail dot com
Operating system: windows
PHP version: 5.4.23
Package: Date/time related
Bug Type: Bug
Bug description:datetime bug week add
Description:
------------
492013
502013
512013
522013
BUG --> 012013 Must be 01 2014 (Jan 2014)
022014
032014
042014
052014
$annexeDeb=DateTime::createFromFormat('d/m/Y',"03/12/2013"); // start
date
$annexeDeb->modify('+1 week');
Expected result:
----------------
492013
502013
512013
522013
012014
022014
032014
042014
052014
Actual result:
--------------
492013
502013
512013
522013
012013
022014
032014
042014
052014
--
Edit bug report at https://bugs.php.net/bug.php?id=66403&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66403&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66403&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66403&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66403&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66403&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66403&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66403&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66403&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66403&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66403&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66403&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66403&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66403&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66403&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66403&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66403&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66403&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66403&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66403&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66403&r=mysqlcfg