@formatjs/intl-datetimeformat 6.12.6 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateTimeFormat, DateTimeFormatLocaleInternalData, IntlDateTimeFormatInternal, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
|
|
2
2
|
import { ToLocalTimeImplDetails } from './ToLocalTime';
|
|
3
3
|
export interface FormatDateTimePatternImplDetails {
|
|
4
4
|
getInternalSlots(dtf: Intl.DateTimeFormat | DateTimeFormat): IntlDateTimeFormatInternal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TimeClip, } from '@formatjs/ecma402-abstract';
|
|
2
|
-
import { DATE_TIME_PROPS } from './utils';
|
|
1
|
+
import { TimeClip, createMemoizedNumberFormat, } from '@formatjs/ecma402-abstract';
|
|
3
2
|
import { ToLocalTime } from './ToLocalTime';
|
|
3
|
+
import { DATE_TIME_PROPS } from './utils';
|
|
4
4
|
function pad(n) {
|
|
5
5
|
if (n < 10) {
|
|
6
6
|
return "0".concat(n);
|
|
@@ -45,18 +45,18 @@ export function FormatDateTimePattern(dtf, patternParts, x, _a) {
|
|
|
45
45
|
var locale = internalSlots.locale;
|
|
46
46
|
var nfOptions = Object.create(null);
|
|
47
47
|
nfOptions.useGrouping = false;
|
|
48
|
-
var nf =
|
|
48
|
+
var nf = createMemoizedNumberFormat(locale, nfOptions);
|
|
49
49
|
var nf2Options = Object.create(null);
|
|
50
50
|
nf2Options.minimumIntegerDigits = 2;
|
|
51
51
|
nf2Options.useGrouping = false;
|
|
52
|
-
var nf2 =
|
|
52
|
+
var nf2 = createMemoizedNumberFormat(locale, nf2Options);
|
|
53
53
|
var fractionalSecondDigits = internalSlots.fractionalSecondDigits;
|
|
54
54
|
var nf3;
|
|
55
55
|
if (fractionalSecondDigits !== undefined) {
|
|
56
56
|
var nf3Options = Object.create(null);
|
|
57
57
|
nf3Options.minimumIntegerDigits = fractionalSecondDigits;
|
|
58
58
|
nf3Options.useGrouping = false;
|
|
59
|
-
nf3 =
|
|
59
|
+
nf3 = createMemoizedNumberFormat(locale, nf3Options);
|
|
60
60
|
}
|
|
61
61
|
var tm = ToLocalTime(x,
|
|
62
62
|
// @ts-ignore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-datetimeformat",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.13.0",
|
|
4
4
|
"description": "Intl.DateTimeFormat polyfill",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"homepage": "https://github.com/formatjs/formatjs#readme",
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"tslib": "^2.4.0",
|
|
26
|
-
"@formatjs/
|
|
27
|
-
"@formatjs/
|
|
26
|
+
"@formatjs/ecma402-abstract": "2.1.0",
|
|
27
|
+
"@formatjs/intl-localematcher": "0.5.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@formatjs/intl-locale": "4.0.
|
|
30
|
+
"@formatjs/intl-locale": "4.0.1",
|
|
31
31
|
"@formatjs/intl-getcanonicallocales": "2.3.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/polyfill.iife.js
CHANGED
|
@@ -439,6 +439,73 @@
|
|
|
439
439
|
return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
|
|
443
|
+
function memoize(fn, options) {
|
|
444
|
+
var cache = options && options.cache ? options.cache : cacheDefault;
|
|
445
|
+
var serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
446
|
+
var strategy = options && options.strategy ? options.strategy : strategyDefault;
|
|
447
|
+
return strategy(fn, {
|
|
448
|
+
cache,
|
|
449
|
+
serializer
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
function isPrimitive(value) {
|
|
453
|
+
return value == null || typeof value === "number" || typeof value === "boolean";
|
|
454
|
+
}
|
|
455
|
+
function monadic(fn, cache, serializer, arg) {
|
|
456
|
+
var cacheKey = isPrimitive(arg) ? arg : serializer(arg);
|
|
457
|
+
var computedValue = cache.get(cacheKey);
|
|
458
|
+
if (typeof computedValue === "undefined") {
|
|
459
|
+
computedValue = fn.call(this, arg);
|
|
460
|
+
cache.set(cacheKey, computedValue);
|
|
461
|
+
}
|
|
462
|
+
return computedValue;
|
|
463
|
+
}
|
|
464
|
+
function variadic(fn, cache, serializer) {
|
|
465
|
+
var args = Array.prototype.slice.call(arguments, 3);
|
|
466
|
+
var cacheKey = serializer(args);
|
|
467
|
+
var computedValue = cache.get(cacheKey);
|
|
468
|
+
if (typeof computedValue === "undefined") {
|
|
469
|
+
computedValue = fn.apply(this, args);
|
|
470
|
+
cache.set(cacheKey, computedValue);
|
|
471
|
+
}
|
|
472
|
+
return computedValue;
|
|
473
|
+
}
|
|
474
|
+
function assemble(fn, context, strategy, cache, serialize) {
|
|
475
|
+
return strategy.bind(context, fn, cache, serialize);
|
|
476
|
+
}
|
|
477
|
+
function strategyDefault(fn, options) {
|
|
478
|
+
var strategy = fn.length === 1 ? monadic : variadic;
|
|
479
|
+
return assemble(fn, this, strategy, options.cache.create(), options.serializer);
|
|
480
|
+
}
|
|
481
|
+
function strategyVariadic(fn, options) {
|
|
482
|
+
return assemble(fn, this, variadic, options.cache.create(), options.serializer);
|
|
483
|
+
}
|
|
484
|
+
function strategyMonadic(fn, options) {
|
|
485
|
+
return assemble(fn, this, monadic, options.cache.create(), options.serializer);
|
|
486
|
+
}
|
|
487
|
+
var serializerDefault = function() {
|
|
488
|
+
return JSON.stringify(arguments);
|
|
489
|
+
};
|
|
490
|
+
function ObjectWithoutPrototypeCache() {
|
|
491
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
492
|
+
}
|
|
493
|
+
ObjectWithoutPrototypeCache.prototype.get = function(key) {
|
|
494
|
+
return this.cache[key];
|
|
495
|
+
};
|
|
496
|
+
ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
|
|
497
|
+
this.cache[key] = value;
|
|
498
|
+
};
|
|
499
|
+
var cacheDefault = {
|
|
500
|
+
create: function create() {
|
|
501
|
+
return new ObjectWithoutPrototypeCache();
|
|
502
|
+
}
|
|
503
|
+
};
|
|
504
|
+
var strategies = {
|
|
505
|
+
variadic: strategyVariadic,
|
|
506
|
+
monadic: strategyMonadic
|
|
507
|
+
};
|
|
508
|
+
|
|
442
509
|
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
443
510
|
function defineProperty(target, name, _a) {
|
|
444
511
|
var value = _a.value;
|
|
@@ -457,6 +524,56 @@
|
|
|
457
524
|
throw new Err(message);
|
|
458
525
|
}
|
|
459
526
|
}
|
|
527
|
+
var createMemoizedNumberFormat = memoize(function() {
|
|
528
|
+
var _a;
|
|
529
|
+
var args = [];
|
|
530
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
531
|
+
args[_i] = arguments[_i];
|
|
532
|
+
}
|
|
533
|
+
return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
|
|
534
|
+
}, {
|
|
535
|
+
strategy: strategies.variadic
|
|
536
|
+
});
|
|
537
|
+
var createMemoizedDateTimeFormat = memoize(function() {
|
|
538
|
+
var _a;
|
|
539
|
+
var args = [];
|
|
540
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
541
|
+
args[_i] = arguments[_i];
|
|
542
|
+
}
|
|
543
|
+
return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
|
|
544
|
+
}, {
|
|
545
|
+
strategy: strategies.variadic
|
|
546
|
+
});
|
|
547
|
+
var createMemoizedPluralRules = memoize(function() {
|
|
548
|
+
var _a;
|
|
549
|
+
var args = [];
|
|
550
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
551
|
+
args[_i] = arguments[_i];
|
|
552
|
+
}
|
|
553
|
+
return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args, false)))();
|
|
554
|
+
}, {
|
|
555
|
+
strategy: strategies.variadic
|
|
556
|
+
});
|
|
557
|
+
var createMemoizedLocale = memoize(function() {
|
|
558
|
+
var _a;
|
|
559
|
+
var args = [];
|
|
560
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
561
|
+
args[_i] = arguments[_i];
|
|
562
|
+
}
|
|
563
|
+
return new ((_a = Intl.Locale).bind.apply(_a, __spreadArray([void 0], args, false)))();
|
|
564
|
+
}, {
|
|
565
|
+
strategy: strategies.variadic
|
|
566
|
+
});
|
|
567
|
+
var createMemoizedListFormat = memoize(function() {
|
|
568
|
+
var _a;
|
|
569
|
+
var args = [];
|
|
570
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
571
|
+
args[_i] = arguments[_i];
|
|
572
|
+
}
|
|
573
|
+
return new ((_a = Intl.ListFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
|
|
574
|
+
}, {
|
|
575
|
+
strategy: strategies.variadic
|
|
576
|
+
});
|
|
460
577
|
|
|
461
578
|
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
462
579
|
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
@@ -4836,29 +4953,6 @@
|
|
|
4836
4953
|
RangePatternType2["endRange"] = "endRange";
|
|
4837
4954
|
})(RangePatternType || (RangePatternType = {}));
|
|
4838
4955
|
|
|
4839
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/utils.js
|
|
4840
|
-
var DATE_TIME_PROPS = [
|
|
4841
|
-
"weekday",
|
|
4842
|
-
"era",
|
|
4843
|
-
"year",
|
|
4844
|
-
"month",
|
|
4845
|
-
"day",
|
|
4846
|
-
"dayPeriod",
|
|
4847
|
-
"hour",
|
|
4848
|
-
"minute",
|
|
4849
|
-
"second",
|
|
4850
|
-
"fractionalSecondDigits",
|
|
4851
|
-
"timeZoneName"
|
|
4852
|
-
];
|
|
4853
|
-
var removalPenalty = 120;
|
|
4854
|
-
var additionPenalty = 20;
|
|
4855
|
-
var differentNumericTypePenalty = 15;
|
|
4856
|
-
var longLessPenalty = 8;
|
|
4857
|
-
var longMorePenalty = 6;
|
|
4858
|
-
var shortLessPenalty = 6;
|
|
4859
|
-
var shortMorePenalty = 3;
|
|
4860
|
-
var offsetPenalty = 1;
|
|
4861
|
-
|
|
4862
4956
|
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToLocalTime.js
|
|
4863
4957
|
function getApplicableZoneData(t, timeZone, tzData) {
|
|
4864
4958
|
var _a;
|
|
@@ -4903,6 +4997,29 @@
|
|
|
4903
4997
|
};
|
|
4904
4998
|
}
|
|
4905
4999
|
|
|
5000
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/utils.js
|
|
5001
|
+
var DATE_TIME_PROPS = [
|
|
5002
|
+
"weekday",
|
|
5003
|
+
"era",
|
|
5004
|
+
"year",
|
|
5005
|
+
"month",
|
|
5006
|
+
"day",
|
|
5007
|
+
"dayPeriod",
|
|
5008
|
+
"hour",
|
|
5009
|
+
"minute",
|
|
5010
|
+
"second",
|
|
5011
|
+
"fractionalSecondDigits",
|
|
5012
|
+
"timeZoneName"
|
|
5013
|
+
];
|
|
5014
|
+
var removalPenalty = 120;
|
|
5015
|
+
var additionPenalty = 20;
|
|
5016
|
+
var differentNumericTypePenalty = 15;
|
|
5017
|
+
var longLessPenalty = 8;
|
|
5018
|
+
var longMorePenalty = 6;
|
|
5019
|
+
var shortLessPenalty = 6;
|
|
5020
|
+
var shortMorePenalty = 3;
|
|
5021
|
+
var offsetPenalty = 1;
|
|
5022
|
+
|
|
4906
5023
|
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimePattern.js
|
|
4907
5024
|
function pad(n) {
|
|
4908
5025
|
if (n < 10) {
|
|
@@ -4936,18 +5053,18 @@
|
|
|
4936
5053
|
var locale = internalSlots.locale;
|
|
4937
5054
|
var nfOptions = /* @__PURE__ */ Object.create(null);
|
|
4938
5055
|
nfOptions.useGrouping = false;
|
|
4939
|
-
var nf =
|
|
5056
|
+
var nf = createMemoizedNumberFormat(locale, nfOptions);
|
|
4940
5057
|
var nf2Options = /* @__PURE__ */ Object.create(null);
|
|
4941
5058
|
nf2Options.minimumIntegerDigits = 2;
|
|
4942
5059
|
nf2Options.useGrouping = false;
|
|
4943
|
-
var nf2 =
|
|
5060
|
+
var nf2 = createMemoizedNumberFormat(locale, nf2Options);
|
|
4944
5061
|
var fractionalSecondDigits = internalSlots.fractionalSecondDigits;
|
|
4945
5062
|
var nf3;
|
|
4946
5063
|
if (fractionalSecondDigits !== void 0) {
|
|
4947
5064
|
var nf3Options = /* @__PURE__ */ Object.create(null);
|
|
4948
5065
|
nf3Options.minimumIntegerDigits = fractionalSecondDigits;
|
|
4949
5066
|
nf3Options.useGrouping = false;
|
|
4950
|
-
nf3 =
|
|
5067
|
+
nf3 = createMemoizedNumberFormat(locale, nf3Options);
|
|
4951
5068
|
}
|
|
4952
5069
|
var tm = ToLocalTime(
|
|
4953
5070
|
x,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DateTimeFormat, DateTimeFormatLocaleInternalData, IntlDateTimeFormatInternal, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
|
|
2
2
|
import { ToLocalTimeImplDetails } from './ToLocalTime';
|
|
3
3
|
export interface FormatDateTimePatternImplDetails {
|
|
4
4
|
getInternalSlots(dtf: Intl.DateTimeFormat | DateTimeFormat): IntlDateTimeFormatInternal;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FormatDateTimePattern = void 0;
|
|
4
4
|
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract");
|
|
5
|
-
var utils_1 = require("./utils");
|
|
6
5
|
var ToLocalTime_1 = require("./ToLocalTime");
|
|
6
|
+
var utils_1 = require("./utils");
|
|
7
7
|
function pad(n) {
|
|
8
8
|
if (n < 10) {
|
|
9
9
|
return "0".concat(n);
|
|
@@ -48,18 +48,18 @@ function FormatDateTimePattern(dtf, patternParts, x, _a) {
|
|
|
48
48
|
var locale = internalSlots.locale;
|
|
49
49
|
var nfOptions = Object.create(null);
|
|
50
50
|
nfOptions.useGrouping = false;
|
|
51
|
-
var nf =
|
|
51
|
+
var nf = (0, ecma402_abstract_1.createMemoizedNumberFormat)(locale, nfOptions);
|
|
52
52
|
var nf2Options = Object.create(null);
|
|
53
53
|
nf2Options.minimumIntegerDigits = 2;
|
|
54
54
|
nf2Options.useGrouping = false;
|
|
55
|
-
var nf2 =
|
|
55
|
+
var nf2 = (0, ecma402_abstract_1.createMemoizedNumberFormat)(locale, nf2Options);
|
|
56
56
|
var fractionalSecondDigits = internalSlots.fractionalSecondDigits;
|
|
57
57
|
var nf3;
|
|
58
58
|
if (fractionalSecondDigits !== undefined) {
|
|
59
59
|
var nf3Options = Object.create(null);
|
|
60
60
|
nf3Options.minimumIntegerDigits = fractionalSecondDigits;
|
|
61
61
|
nf3Options.useGrouping = false;
|
|
62
|
-
nf3 =
|
|
62
|
+
nf3 = (0, ecma402_abstract_1.createMemoizedNumberFormat)(locale, nf3Options);
|
|
63
63
|
}
|
|
64
64
|
var tm = (0, ToLocalTime_1.ToLocalTime)(x,
|
|
65
65
|
// @ts-ignore
|