mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
deps: restore minimum ICU version to 68
Refs: https://github.com/v8/v8/commit/edac49681843447cc483b164a26d00755870b08c PR-URL: https://github.com/nodejs/node/pull/39470 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
This commit is contained in:
3 files changed
+9
-2
No files matched your search
+1
-1
@@ -36,7 +36,7 @@
|
||||
|
||||
# Reset this number to 0 on major V8 upgrades.
|
||||
# Increment by one for each non-official patch applied to deps/v8.
|
||||
'v8_embedder_string': '-node.10',
|
||||
'v8_embedder_string': '-node.11',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
Vendored
+7
@@ -2050,12 +2050,19 @@ bool ICUTimezoneCache::GetOffsets(double time_ms, bool is_utc,
|
||||
if (is_utc) {
|
||||
GetTimeZone()->getOffset(time_ms, false, *raw_offset, *dst_offset, status);
|
||||
} else {
|
||||
#if U_ICU_VERSION_MAJOR_NUM < 69
|
||||
static_cast<const icu::BasicTimeZone*>(GetTimeZone())
|
||||
->getOffsetFromLocal(time_ms, icu::BasicTimeZone::kFormer,
|
||||
icu::BasicTimeZone::kFormer, *raw_offset,
|
||||
*dst_offset, status);
|
||||
#else
|
||||
// Note that casting TimeZone to BasicTimeZone is safe because we know that
|
||||
// icu::TimeZone used here is a BasicTimeZone.
|
||||
static_cast<const icu::BasicTimeZone*>(GetTimeZone())
|
||||
->getOffsetFromLocal(time_ms, UCAL_TZ_LOCAL_FORMER,
|
||||
UCAL_TZ_LOCAL_FORMER, *raw_offset, *dst_offset,
|
||||
status);
|
||||
#endif
|
||||
}
|
||||
|
||||
return U_SUCCESS(status);
|
||||
|
||||
Vendored
+1
-1
@@ -21,7 +21,7 @@
|
||||
#include "unicode/locid.h"
|
||||
#include "unicode/uversion.h"
|
||||
|
||||
#define V8_MINIMUM_ICU_VERSION 69
|
||||
#define V8_MINIMUM_ICU_VERSION 68
|
||||
|
||||
namespace U_ICU_NAMESPACE {
|
||||
class BreakIterator;
|
||||
|
||||
Reference in new issue
Block a user