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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matthieux dot dekamen at gmail dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 21:01:36 2024 UTC