Skip to content

Test bug69398.phpt fails with ICU 74.1 #12635

Closed

Description

@andypost

Description

Alpinelinux used to upgrade ICU to 74.1 and the only test failed on all versions (8.1, 8.2, 8.3)

TEST 1/1 [ext/intl/tests/bug69398.phpt]
========DIFF========
001+ 4/4/15
001- 04/04/2015
     15. 4. 4.
========DONE========
FAIL IntlDateFormatter::formatObject(): returns wrong value when time style is NONE. [ext/intl/tests/bug69398.phpt] 

PHP Version

PHP 8.1.25

Operating System

Alpinelinux

Activity

  1. andypost commented on Nov 9, 2023

    @andypost
    ContributorAuthor

    Use to fix output with this patch

    diff --git a/ext/intl/tests/bug69398.phpt b/ext/intl/tests/bug69398.phpt
    index 02c4b7daef..d7633d54bb 100644
    --- a/ext/intl/tests/bug69398.phpt
    +++ b/ext/intl/tests/bug69398.phpt
    @@ -13,5 +13,5 @@
     echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE), 'ko_KR'), "\n";
     ?>
     --EXPECT--
    -04/04/2015
    +4/4/15
     15. 4. 4.
  2. added a commit that references this issue on Nov 11, 2023
    a758b9c
  3. added 2 commits that reference this issue on Nov 11, 2023
    608842b
    b3e10df
  4. added a commit that references this issue on Nov 23, 2023
    6641cd1
  5. added a commit that references this issue on Jan 25, 2024
    333cf3c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions