@formatjs/intl-datetimeformat 6.12.6 → 6.14.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.
@@ -92,6 +92,7 @@ declare const _default: {
92
92
  "Asia/Bahrain": string;
93
93
  "Asia/Brunei": string;
94
94
  "Asia/Calcutta": string;
95
+ "Asia/Choibalsan": string;
95
96
  "Asia/Chongqing": string;
96
97
  "Asia/Chungking": string;
97
98
  "Asia/Dacca": string;
@@ -131,6 +132,8 @@ declare const _default: {
131
132
  "Brazil/DeNoronha": string;
132
133
  "Brazil/East": string;
133
134
  "Brazil/West": string;
135
+ CET: string;
136
+ CST6CDT: string;
134
137
  "Canada/Atlantic": string;
135
138
  "Canada/Central": string;
136
139
  "Canada/Eastern": string;
@@ -142,6 +145,9 @@ declare const _default: {
142
145
  "Chile/Continental": string;
143
146
  "Chile/EasterIsland": string;
144
147
  Cuba: string;
148
+ EET: string;
149
+ EST: string;
150
+ EST5EDT: string;
145
151
  Egypt: string;
146
152
  Eire: string;
147
153
  "Etc/GMT+0": string;
@@ -183,6 +189,7 @@ declare const _default: {
183
189
  "GMT-0": string;
184
190
  GMT0: string;
185
191
  Greenwich: string;
192
+ HST: string;
186
193
  Hongkong: string;
187
194
  Iceland: string;
188
195
  "Indian/Antananarivo": string;
@@ -199,6 +206,9 @@ declare const _default: {
199
206
  Japan: string;
200
207
  Kwajalein: string;
201
208
  Libya: string;
209
+ MET: string;
210
+ MST: string;
211
+ MST7MDT: string;
202
212
  "Mexico/BajaNorte": string;
203
213
  "Mexico/BajaSur": string;
204
214
  "Mexico/General": string;
@@ -206,6 +216,7 @@ declare const _default: {
206
216
  "NZ-CHAT": string;
207
217
  Navajo: string;
208
218
  PRC: string;
219
+ PST8PDT: string;
209
220
  "Pacific/Chuuk": string;
210
221
  "Pacific/Enderbury": string;
211
222
  "Pacific/Funafuti": string;
@@ -242,6 +253,7 @@ declare const _default: {
242
253
  UTC: string;
243
254
  Universal: string;
244
255
  "W-SU": string;
256
+ WET: string;
245
257
  Zulu: string;
246
258
  };
247
259
  export default _default;
package/src/data/links.js CHANGED
@@ -96,6 +96,7 @@ exports.default = {
96
96
  "Asia/Bahrain": "Asia/Qatar",
97
97
  "Asia/Brunei": "Asia/Kuching",
98
98
  "Asia/Calcutta": "Asia/Kolkata",
99
+ "Asia/Choibalsan": "Asia/Ulaanbaatar",
99
100
  "Asia/Chongqing": "Asia/Shanghai",
100
101
  "Asia/Chungking": "Asia/Shanghai",
101
102
  "Asia/Dacca": "Asia/Dhaka",
@@ -135,6 +136,8 @@ exports.default = {
135
136
  "Brazil/DeNoronha": "America/Noronha",
136
137
  "Brazil/East": "America/Sao_Paulo",
137
138
  "Brazil/West": "America/Manaus",
139
+ "CET": "Europe/Brussels",
140
+ "CST6CDT": "America/Chicago",
138
141
  "Canada/Atlantic": "America/Halifax",
139
142
  "Canada/Central": "America/Winnipeg",
140
143
  "Canada/Eastern": "America/Toronto",
@@ -146,6 +149,9 @@ exports.default = {
146
149
  "Chile/Continental": "America/Santiago",
147
150
  "Chile/EasterIsland": "Pacific/Easter",
148
151
  "Cuba": "America/Havana",
152
+ "EET": "Europe/Athens",
153
+ "EST": "America/Panama",
154
+ "EST5EDT": "America/New_York",
149
155
  "Egypt": "Africa/Cairo",
150
156
  "Eire": "Europe/Dublin",
151
157
  "Etc/GMT+0": "Etc/GMT",
@@ -187,6 +193,7 @@ exports.default = {
187
193
  "GMT-0": "Etc/GMT",
188
194
  "GMT0": "Etc/GMT",
189
195
  "Greenwich": "Etc/GMT",
196
+ "HST": "Pacific/Honolulu",
190
197
  "Hongkong": "Asia/Hong_Kong",
191
198
  "Iceland": "Africa/Abidjan",
192
199
  "Indian/Antananarivo": "Africa/Nairobi",
@@ -203,6 +210,9 @@ exports.default = {
203
210
  "Japan": "Asia/Tokyo",
204
211
  "Kwajalein": "Pacific/Kwajalein",
205
212
  "Libya": "Africa/Tripoli",
213
+ "MET": "Europe/Brussels",
214
+ "MST": "America/Phoenix",
215
+ "MST7MDT": "America/Denver",
206
216
  "Mexico/BajaNorte": "America/Tijuana",
207
217
  "Mexico/BajaSur": "America/Mazatlan",
208
218
  "Mexico/General": "America/Mexico_City",
@@ -210,6 +220,7 @@ exports.default = {
210
220
  "NZ-CHAT": "Pacific/Chatham",
211
221
  "Navajo": "America/Denver",
212
222
  "PRC": "Asia/Shanghai",
223
+ "PST8PDT": "America/Los_Angeles",
213
224
  "Pacific/Chuuk": "Pacific/Port_Moresby",
214
225
  "Pacific/Enderbury": "Pacific/Kanton",
215
226
  "Pacific/Funafuti": "Pacific/Tarawa",
@@ -246,5 +257,6 @@ exports.default = {
246
257
  "UTC": "Etc/UTC",
247
258
  "Universal": "Etc/UTC",
248
259
  "W-SU": "Europe/Moscow",
260
+ "WET": "Europe/Lisbon",
249
261
  "Zulu": "Etc/UTC"
250
262
  };
@@ -2,6 +2,7 @@
2
2
  // Type-only circular import
3
3
  // eslint-disable-next-line import/no-cycle
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.default = getInternalSlots;
5
6
  var internalSlotMap = new WeakMap();
6
7
  function getInternalSlots(x) {
7
8
  var internalSlots = internalSlotMap.get(x);
@@ -11,4 +12,3 @@ function getInternalSlots(x) {
11
12
  }
12
13
  return internalSlots;
13
14
  }
14
- exports.default = getInternalSlots;
package/src/packer.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.unpack = exports.pack = void 0;
3
+ exports.pack = pack;
4
+ exports.unpack = unpack;
4
5
  var tslib_1 = require("tslib");
5
6
  function pack(data) {
6
7
  var zoneNames = Object.keys(data.zones);
@@ -18,7 +19,6 @@ function pack(data) {
18
19
  offsets: data.offsets.map(function (o) { return o.toString(36); }).join('|'),
19
20
  };
20
21
  }
21
- exports.pack = pack;
22
22
  function unpack(data) {
23
23
  var abbrvs = data.abbrvs.split('|');
24
24
  var offsets = data.offsets.split('|').map(function (n) { return parseInt(n, 36); });
@@ -41,4 +41,3 @@ function unpack(data) {
41
41
  }
42
42
  return zones;
43
43
  }
44
- exports.unpack = unpack;
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toLocaleTimeString = exports.toLocaleDateString = exports.toLocaleString = void 0;
3
+ exports.toLocaleString = toLocaleString;
4
+ exports.toLocaleDateString = toLocaleDateString;
5
+ exports.toLocaleTimeString = toLocaleTimeString;
4
6
  // eslint-disable-next-line import/no-cycle
5
7
  var core_1 = require("./core");
6
8
  var ToDateTimeOptions_1 = require("./abstract/ToDateTimeOptions");
@@ -12,14 +14,11 @@ function toLocaleString(x, locales, options) {
12
14
  var dtf = new core_1.DateTimeFormat(locales, options);
13
15
  return dtf.format(x);
14
16
  }
15
- exports.toLocaleString = toLocaleString;
16
17
  function toLocaleDateString(x, locales, options) {
17
18
  var dtf = new core_1.DateTimeFormat(locales, (0, ToDateTimeOptions_1.ToDateTimeOptions)(options, 'date', 'date'));
18
19
  return dtf.format(x);
19
20
  }
20
- exports.toLocaleDateString = toLocaleDateString;
21
21
  function toLocaleTimeString(x, locales, options) {
22
22
  var dtf = new core_1.DateTimeFormat(locales, (0, ToDateTimeOptions_1.ToDateTimeOptions)(options, 'time', 'time'));
23
23
  return dtf.format(x);
24
24
  }
25
- exports.toLocaleTimeString = toLocaleTimeString;