@js-joda/locale_zh 4.14.0 → 4.15.3
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.
- package/LICENSE +34 -0
- package/dist/index.esm.js +8 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +4 -5
package/LICENSE
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
BSD License
|
|
2
|
+
|
|
3
|
+
For js-joda software
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
|
|
6
|
+
|
|
7
|
+
All rights reserved.
|
|
8
|
+
|
|
9
|
+
Redistribution and use in source and binary forms, with or without
|
|
10
|
+
modification, are permitted provided that the following conditions are met:
|
|
11
|
+
|
|
12
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer.
|
|
14
|
+
|
|
15
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
16
|
+
this list of conditions and the following disclaimer in the documentation
|
|
17
|
+
and/or other materials provided with the distribution.
|
|
18
|
+
|
|
19
|
+
* Neither the name of js-joda nor the names of its contributors
|
|
20
|
+
may be used to endorse or promote products derived from this software
|
|
21
|
+
without specific prior written permission.
|
|
22
|
+
|
|
23
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
24
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
25
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
26
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
27
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
28
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
29
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
30
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
31
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
32
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
33
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
+
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//! @version @js-joda/locale - 4.
|
|
1
|
+
//! @version @js-joda/locale - 4.15.2
|
|
2
2
|
//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors
|
|
3
3
|
//! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
4
4
|
//! @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
@@ -33859,6 +33859,7 @@ var Cldr = /*@__PURE__*/getDefaultExportFromCjs(node_mainExports);
|
|
|
33859
33859
|
* @copyright (c) 2020, Philipp Thuerwaechter & Pattrick Hueper
|
|
33860
33860
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
33861
33861
|
*/
|
|
33862
|
+
|
|
33862
33863
|
var cldrDataLoaded = new Set();
|
|
33863
33864
|
var loadCldrData = function loadCldrData(path) {
|
|
33864
33865
|
if (!cldrDataLoaded.has(path)) {
|
|
@@ -33894,6 +33895,7 @@ var getOrCreateMapZones = function getOrCreateMapZones(cldr) {
|
|
|
33894
33895
|
* @copyright (c) 2017, Philipp Thuerwaechter & Pattrick Hueper
|
|
33895
33896
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
33896
33897
|
*/
|
|
33898
|
+
|
|
33897
33899
|
var CldrDateTimeTextProvider = function () {
|
|
33898
33900
|
function CldrDateTimeTextProvider() {
|
|
33899
33901
|
this._cache = {};
|
|
@@ -34236,6 +34238,7 @@ var CldrZoneTextPrinterParser = function () {
|
|
|
34236
34238
|
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
|
|
34237
34239
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
34238
34240
|
*/
|
|
34241
|
+
|
|
34239
34242
|
var MathUtil$1 = _.MathUtil;
|
|
34240
34243
|
var LocalizedOffsetPrinterParser = function () {
|
|
34241
34244
|
function LocalizedOffsetPrinterParser(textStyle) {
|
|
@@ -34365,6 +34368,7 @@ var LocalizedOffsetPrinterParser = function () {
|
|
|
34365
34368
|
* @copyright (c) 2017, Philipp Thuerwaechter & Pattrick Hueper
|
|
34366
34369
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
34367
34370
|
*/
|
|
34371
|
+
|
|
34368
34372
|
var MathUtil = _.MathUtil,
|
|
34369
34373
|
_jodaInternal$assert$1 = _.assert,
|
|
34370
34374
|
requireNonNull$2 = _jodaInternal$assert$1.requireNonNull,
|
|
@@ -34815,6 +34819,7 @@ function _init$2() {
|
|
|
34815
34819
|
* @copyright (c) 2017, Philipp Thuerwaechter & Pattrick Hueper
|
|
34816
34820
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
34817
34821
|
*/
|
|
34822
|
+
|
|
34818
34823
|
var StringBuilder = _.StringBuilder;
|
|
34819
34824
|
var WeekFieldsPrinterParser = function () {
|
|
34820
34825
|
function WeekFieldsPrinterParser(letter, count) {
|
|
@@ -34958,6 +34963,7 @@ var CldrDateTimeFormatterBuilder = function (_DateTimeFormatterBui) {
|
|
|
34958
34963
|
* @copyright (c) 2017, Philipp Thuerwaechter & Pattrick Hueper
|
|
34959
34964
|
* @license BSD-3-Clause (see LICENSE.md in the root directory of this source tree)
|
|
34960
34965
|
*/
|
|
34966
|
+
|
|
34961
34967
|
var Locale = function () {
|
|
34962
34968
|
Locale.getAvailableLocales = function getAvailableLocales() {
|
|
34963
34969
|
return new CldrDateTimeTextProvider().getAvailableLocales();
|
|
@@ -35073,6 +35079,7 @@ function _init() {
|
|
|
35073
35079
|
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper
|
|
35074
35080
|
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree)
|
|
35075
35081
|
*/
|
|
35082
|
+
|
|
35076
35083
|
var isInit = false;
|
|
35077
35084
|
function init() {
|
|
35078
35085
|
if (isInit) {
|