Skip to content

Commit f9b229e

Browse files
targosrichardlau
authored andcommitted
deps: update icu to 74.2
Refs: https://github.com/unicode-org/icu/releases/tag/release-74-2 PR-URL: #51723 Backport-PR-URL: #51973 Refs: #51721 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Steven R Loomis <srl295@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Refs: #51933
1 parent 3184bef commit f9b229e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

deps/icu-small/source/common/unicode/uvernum.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* This value will change in the subsequent releases of ICU
6060
* @stable ICU 2.6
6161
*/
62-
#define U_ICU_VERSION_MINOR_NUM 1
62+
#define U_ICU_VERSION_MINOR_NUM 2
6363

6464
/** The current ICU patchlevel version as an integer.
6565
* This value will change in the subsequent releases of ICU
@@ -132,7 +132,7 @@
132132
* This value will change in the subsequent releases of ICU
133133
* @stable ICU 2.4
134134
*/
135-
#define U_ICU_VERSION "74.1"
135+
#define U_ICU_VERSION "74.2"
136136

137137
/**
138138
* The current ICU library major version number as a string, for library name suffixes.
@@ -151,7 +151,7 @@
151151
/** Data version in ICU4C.
152152
* @internal ICU 4.4 Internal Use Only
153153
**/
154-
#define U_ICU_DATA_VERSION "74.1"
154+
#define U_ICU_DATA_VERSION "74.2"
155155
#endif /* U_HIDE_INTERNAL_API */
156156

157157
/*===========================================================================
-190 Bytes
Binary file not shown.

deps/icu-small/source/i18n/dtptngen.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ struct DateTimePatternGenerator::AvailableFormatsSink : public ResourceSink {
10231023
AvailableFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {}
10241024
virtual ~AvailableFormatsSink();
10251025

1026-
virtual void put(const char *key, ResourceValue &value, UBool isRoot,
1026+
virtual void put(const char *key, ResourceValue &value, UBool /*isRoot*/,
10271027
UErrorCode &errorCode) override {
10281028
const UnicodeString formatKey(key, -1, US_INV);
10291029
if (!dtpg.isAvailableFormatSet(formatKey) ) {
@@ -1032,7 +1032,7 @@ struct DateTimePatternGenerator::AvailableFormatsSink : public ResourceSink {
10321032
// derived from std patterns, but not a previous availableFormats entry:
10331033
const UnicodeString& formatValue = value.getUnicodeString(errorCode);
10341034
conflictingPattern.remove();
1035-
dtpg.addPatternWithSkeleton(formatValue, &formatKey, !isRoot, conflictingPattern, errorCode);
1035+
dtpg.addPatternWithSkeleton(formatValue, &formatKey, true, conflictingPattern, errorCode);
10361036
}
10371037
}
10381038
};

test/parallel/test-icu-env.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ if (isMockable) {
123123
locales.map((LANG) => runEnvOutside({ LANG, TZ: 'Europe/Zurich' }, 'new Date(333333333333).toLocaleString()')),
124124
[
125125
'7/25/1980, 1:35:33 AM',
126-
'1980/7/25 1:35:33',
126+
'1980/7/25 01:35:33',
127127
'25/7/1980, 1:35:33 am',
128128
'25/7/1980, 1:35:33',
129-
'25/07/1980 1:35:33',
129+
'25/07/1980 01:35:33',
130130
'٢٥‏/٧‏/١٩٨٠، ١:٣٥:٣٣ ص',
131131
'২৫/৭/১৯৮০, ১:৩৫:৩৩ AM',
132-
'25.07.1980, 1:35:33',
133-
'25/07/1980, 1:35:33',
132+
'25.07.1980, 01:35:33',
133+
'25/07/1980, 01:35:33',
134134
'25/7/1980، 1:35:33 AM',
135135
'25/7/1980, 01.35.33',
136-
'25.7.1980, 1:35:33',
136+
'25.7.1980, 01:35:33',
137137
'1980/7/25 1:35:33',
138-
'25/7/1980 1:35:33',
138+
'25/7/1980 01:35:33',
139139
'२५/७/१९८०, १:३५:३३ AM',
140140
'25/7/1980 1:35:33 AM',
141141
]

tools/icu/current_ver.dep

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"url": "https://github.com/unicode-org/icu/releases/download/release-74-1/icu4c-74_1-src.tgz",
4-
"md5": "71e60b22697c4f35820a1897417dbab4"
3+
"url": "https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz",
4+
"md5": "94c0b370f43123ea92b146ebea9c709d"
55
}
66
]

0 commit comments

Comments
 (0)