GithubHelp home page GithubHelp logo

Comments (4)

thekid avatar thekid commented on July 28, 2024

Most probably related to php/php-src@091c092, which is a huge diff (52,924 additions and 29,617 deletions).

I've opened a PHP bug: https://bugs.php.net/bug.php?id=80963

from core.

thekid avatar thekid commented on July 28, 2024

Quoting from the bug:

This is a tricky one. The data format that the library uses has changed, and will now only contain a list of transitions up until the last time the rules changed.

For America/New_York, that was in 2007, and Europe/London, in 1996

from core.

thekid avatar thekid commented on July 28, 2024

The tests in question have been disabled for the time being by only running them with PHP up until 8.1.0-dev:

$ grep -Hirn -A 1 8.1.0-dev src/test/php/ | cut -d / -f 6-
unittest/util/CalendarTest.class.php:89:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/CalendarTest.class.php-90-  public function testCalendarDSTBegin() {
--
unittest/util/CalendarTest.class.php:100:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/CalendarTest.class.php-101-  public function testCalendarDSTBeginByDate() {
--
unittest/util/CalendarTest.class.php:111:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/CalendarTest.class.php-112-  public function testCalendarDSTBeginUS() {
--
unittest/util/CalendarTest.class.php:121:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/CalendarTest.class.php-122-  public function testCalendarDSTEnd() {
--
unittest/util/TimeZoneTest.class.php:43:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/TimeZoneTest.class.php-44-  public function previousTransition() {
--
unittest/util/TimeZoneTest.class.php:52:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/TimeZoneTest.class.php-53-  public function previousPreviousTransition() {
--
unittest/util/TimeZoneTest.class.php:62:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/TimeZoneTest.class.php-63-  public function previousNextTransition() {
--
unittest/util/TimeZoneTest.class.php:72:  #[Test, Action(eval: 'new RuntimeVersion("<8.1.0-dev")')]
unittest/util/TimeZoneTest.class.php-73-  public function nextTransition() {

from core.

thekid avatar thekid commented on July 28, 2024

https://bugs.php.net/bug.php?id=80963 was closed on August 8th, retesting with current PHP verifies this once again works as expected.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.