Skip to content

Commit 40bb925

Browse files
committed
Merge branch 'pull-request/210' into PHP-5.4
* pull-request/210: Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour) Prevent a unix timestamp, which is always GMT when being parsed, from taking on the local timezones DST flag.
2 parents d3c37f0 + b346956 commit 40bb925

File tree

5 files changed

+114
-49
lines changed

5 files changed

+114
-49
lines changed

NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ PHP NEWS
3333
. Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will
3434
cause cpu Soaring). (Pierrick)
3535

36+
- Date:
37+
. Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object)
38+
(Lonny Kapelushnik)
39+
. Fixed bug #62561 (DateTime add 'P1D' adds 25 hours). (Lonny Kapelushnik)
40+
3641
- DOM:
3742
. Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler). (Rob)
3843

0 commit comments

Comments
 (0)