Bug #78988 [NEW]: Issue with DST -> Standard transition for positive offsets

From: Date: Wed, 18 Dec 2019 04:46:31 +0000
Subject: Bug #78988 [NEW]: Issue with DST -> Standard transition for positive offsets
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224376@lists.php.net to get a copy of this message
From: n at tebru dot net Operating system: linux PHP version: Irrelevant Package: *General Issues Bug Type: Bug Bug description:Issue with DST -> Standard transition for positive offsets Description: ------------ The script below lists all of the timezones affected with the following conditions: 1. Timezone using DST 2. Date constructed 1 second before transition to standard time 3. Date is not in DST For example, if a timezone moves back to 2AM at 3AM, a date constructed at 2:59:59AM DST. Adding a second should move it back to 2AM standard time. What I'm seeing is all of the timezones with positive offsets are getting constructed in standard time and most (except for one) of the timezones with negative offsets are getting constructed in DST. Test script: --------------- https://3v4l.org/vslF6 Expected result: ---------------- All dates behave the same way with respect to DST. -- Edit bug report at https://bugs.php.net/bug.php?id=78988&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78988&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78988&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78988&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78988&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78988&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78988&r=support Expected behavior: https://bugs.php.net/fix.php?id=78988&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78988&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78988&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78988&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78988&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78988&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78988&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78988&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78988&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78988&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78988&r=mysqlcfg

« previous php.bugs (#224376) next »