]> granicus.if.org Git - php/commit
Fix bugs 62561,62896 (Modifying DateTime::__construct,date_create adds an hour)
authorLonny Kapelushnik <lonnyk@gmail.com>
Sun, 30 Sep 2012 04:31:29 +0000 (04:31 +0000)
committerLonny Kapelushnik <lonnyk@gmail.com>
Sun, 30 Sep 2012 04:31:29 +0000 (04:31 +0000)
commitb3469560f3886a8b509f9fcc6e64134cab62646c
tree0451efdbd53d39eb032ac7e0b6caeec69897f155
parent34c3985979cb27cd1fff1ca767b3162357da7b0b
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.
ext/date/lib/parse_date.re
ext/date/tests/bug62561.phpt [new file with mode: 0644]
ext/date/tests/bug62896.phpt [new file with mode: 0644]