Bug #72486 [NEW]: Converting DateTime where DST overlap occurs to UTC fails
From: matthieux dot dekamen at gmail dot com
Operating system:
PHP version: 7.1.0alpha1
Package: Date/time related
Bug Type: Bug
Bug description:Converting DateTime where DST overlap occurs to UTC fails
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
--
Edit bug report at https://bugs.php.net/bug.php?id=72486&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72486&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72486&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72486&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72486&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72486&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72486&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72486&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72486&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72486&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72486&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72486&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72486&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72486&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72486&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72486&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72486&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72486&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72486&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72486&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72486&r=mysqlcfg
Thread (3 messages)
- matthieux dot dekamen at gmail dot com