php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72486 Converting DateTime where DST overlap occurs to UTC fails
Submitted: 2016-06-24 11:03 UTC Modified: 2017-03-19 12:02 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: matthieux dot dekamen at gmail dot com Assigned:
Status: Duplicate Package: Date/time related
PHP Version: 7.1.0alpha1 OS:
Private report: No CVE-ID: None
 [2016-06-24 11:03 UTC] matthieux dot dekamen at gmail dot com
Description:
------------
convert Brussels' time 2016-10-30T02:30:00+01:00 to UTC:
2016-10-30T01:30:00+00:00 // OK

convert Brussels' time 2016-10-30T02:30:00+02:00 to UTC:
2016-10-30T01:30:00+00:00 // KO => should be 00:30:00+00:00

https://3v4l.org/C9TJ6

PS: HHVM gets it right


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-03-19 12:02 UTC] heiglandreas@php.net
We're now tracking this in https://bugs.php.net/bug.php?id=74274
 [2017-03-19 12:02 UTC] heiglandreas@php.net
-Status: Open +Status: Duplicate
 [2017-03-19 12:02 UTC] heiglandreas@php.net
See last comment…
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Apr 04 03:01:24 2020 UTC