Bug #74274 [NEW]: Handling DST transitions correctly

From: Date: Sun, 19 Mar 2017 10:09:51 +0000
Subject: Bug #74274 [NEW]: Handling DST transitions correctly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207934@lists.php.net to get a copy of this message
From:             heiglandreas
Operating system: Irrelelvant
PHP version:      7.1.3
Package:          Date/time related
Bug Type:         Bug
Bug description:Handling DST transitions correctly

Description:
------------
A lot of issues have been tracked regarding DST-Transitions. There also
has been an RFC in 2011
(https://wiki.php.net/rfc/datetime_and_daylight_saving_time) which seems
to be not implemented yet. 

This is supposed to be a collection of all the issues that have been
raised up to now that all revolve around the same thing:

DateTime doesn't handle the transition from Daylight Saving Time back to
Standard Time correctly. 

https://bugs.php.net/bug.php?id=51051
https://bugs.php.net/bug.php?id=61530
https://bugs.php.net/bug.php?id=62185


This is closely related to an often claimed feature request to evaluate
the Timezone-Parameter when a Timezone-identifier is given in the
datetime-string. That would allow DateTime to realize whether the given
time is DaylightSavingTime or Standard-Time and be a much less error
prone way than using 'DT' and 'ST' as described in the RFC. Related to
this are:

https://bugs.php.net/bug.php?id=61022



-- 
Edit bug report at https://bugs.php.net/bug.php?id=74274&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74274&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74274&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74274&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74274&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74274&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74274&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74274&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74274&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74274&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74274&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74274&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74274&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74274&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74274&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74274&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74274&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74274&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74274&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74274&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74274&r=mysqlcfg



Thread (6 messages)

« previous php.bugs (#207934) next »