File: 0001-Match-current-ICU-output.patch

package info (click to toggle)
php-twig 3.21.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,384 kB
  • sloc: php: 24,699; makefile: 110; sh: 43
file content (40 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Thu, 26 May 2022 21:26:15 +0200
Subject: Match current ICU output

Bug-Debian: https://bugs.debian.org/1026752
Bug-Debian: https://bugs.debian.org/1084317
---
 extra/intl-extra/Tests/Fixtures/format_date.test      | 4 ++--
 extra/intl-extra/Tests/Fixtures/format_date_php8.test | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/extra/intl-extra/Tests/Fixtures/format_date.test b/extra/intl-extra/Tests/Fixtures/format_date.test
index 08cd873..a48c576 100644
--- a/extra/intl-extra/Tests/Fixtures/format_date.test
+++ b/extra/intl-extra/Tests/Fixtures/format_date.test
@@ -16,7 +16,7 @@ version_compare(Symfony\Component\Intl\Intl::getIcuVersion(), '72.1', '<')
 --DATA--
 return [];
 --EXPECT--
-Aug 7, 2019, 11:39:12 PM
+Aug 7, 2019, 11:39:12 PM
 7 août 2019, 23:39:12
 23:39
 07/08/2019
@@ -25,4 +25,4 @@ mercredi 7 août 2019 à 23:39:12 temps universel coordonné
 
 Aug 7, 2019
 7 août 2019
-11:39:12 PM
+11:39:12 PM
diff --git a/extra/intl-extra/Tests/Fixtures/format_date_php8.test b/extra/intl-extra/Tests/Fixtures/format_date_php8.test
index 5d694e5..d2755ba 100644
--- a/extra/intl-extra/Tests/Fixtures/format_date_php8.test
+++ b/extra/intl-extra/Tests/Fixtures/format_date_php8.test
@@ -9,4 +9,4 @@ PHP_VERSION_ID >= 80000 && version_compare(Symfony\Component\Intl\Intl::getIcuVe
 return [];
 --EXPECT--
 aujourd’hui
-aujourd’hui à 23:39:12 temps universel coordonné
+aujourd’hui, 23:39:12 temps universel coordonné