@bigbinary/neeto-time-zones 0.8.10 → 0.8.12

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/dist/react.es.js CHANGED
@@ -1059,7 +1059,7 @@ const Africa = [
1059
1059
  "Africa/El_Aaiun"
1060
1060
  ],
1061
1061
  main: "Africa/Casablanca",
1062
- label: "Morocco Standard Time",
1062
+ label: "Morocco Standard Time (DST)",
1063
1063
  keywords: "Morocco Standard Time Casablanca El Aaiun MST",
1064
1064
  isDst: true,
1065
1065
  cities: "Casablanca, El Aaiun"
@@ -1166,7 +1166,7 @@ const America = [
1166
1166
  "America/Godthab"
1167
1167
  ],
1168
1168
  main: "America/Nuuk",
1169
- label: "Greenland Standard Time",
1169
+ label: "Greenland Standard Time (DST)",
1170
1170
  keywords: "Greenland Standard Time Godthab GST Nuuk",
1171
1171
  isDst: true,
1172
1172
  cities: "Nuuk, Godthab"
@@ -1189,7 +1189,7 @@ const America = [
1189
1189
  "Mexico/BajaSur"
1190
1190
  ],
1191
1191
  main: "America/Mazatlan",
1192
- label: "Mountain Standard Time (Mexico)",
1192
+ label: "Mountain Standard Time (Mexico) (DST)",
1193
1193
  keywords: "Mountain Standard Time (Mexico) Chihuahua Mazatlan MST BajaSur",
1194
1194
  isDst: true,
1195
1195
  cities: "Chihuahua, Mazatlan, La Paz"
@@ -1252,7 +1252,7 @@ const America = [
1252
1252
  "America/Santa_Isabel"
1253
1253
  ],
1254
1254
  main: "America/Santa_Isabel",
1255
- label: "Pacific Standard Time (Mexico)",
1255
+ label: "Pacific Standard Time (Mexico) (DST)",
1256
1256
  keywords: "Pacific Standard Time (Mexico) Santa Isabel PST",
1257
1257
  isDst: true,
1258
1258
  cities: "Santa Isabel"
@@ -1268,7 +1268,7 @@ const America = [
1268
1268
  "Atlantic/Bermuda"
1269
1269
  ],
1270
1270
  main: "Atlantic/Bermuda",
1271
- label: "Atlantic Time (Canada)",
1271
+ label: "Atlantic Time (Canada) (DST)",
1272
1272
  keywords: "Atlantic Standard Time Glace Bay Goose_Bay Halifax Moncton Thule Bermuda AT",
1273
1273
  isDst: true,
1274
1274
  cities: "Glace Bay, Goose Bay, Halifax, Moncton, Thule, Bermuda"
@@ -1416,7 +1416,7 @@ const Asia = [
1416
1416
  "Asia/Beirut"
1417
1417
  ],
1418
1418
  main: "Asia/Beirut",
1419
- label: "Middle East Standard Time",
1419
+ label: "Middle East Standard Time (DST)",
1420
1420
  keywords: "Middle East Standard Time Beirut MEST",
1421
1421
  isDst: true,
1422
1422
  cities: "Beirut"
@@ -1426,7 +1426,7 @@ const Asia = [
1426
1426
  "Asia/Damascus"
1427
1427
  ],
1428
1428
  main: "Asia/Damascus",
1429
- label: "Syria Standard Time",
1429
+ label: "Syria Standard Time (DST)",
1430
1430
  keywords: "Syria Standard Time Damascus SST",
1431
1431
  isDst: true,
1432
1432
  cities: "Damascus"
@@ -1437,7 +1437,7 @@ const Asia = [
1437
1437
  "Israel"
1438
1438
  ],
1439
1439
  main: "Asia/Jerusalem",
1440
- label: "Israel Standard Time",
1440
+ label: "Israel Standard Time (DST)",
1441
1441
  keywords: "Israel Standard Time Jerusalem IST",
1442
1442
  isDst: true,
1443
1443
  cities: "Jerusalem"
@@ -1482,7 +1482,7 @@ const Asia = [
1482
1482
  "Iran"
1483
1483
  ],
1484
1484
  main: "Asia/Tehran",
1485
- label: "Iran Standard Time",
1485
+ label: "Iran Standard Time (DST)",
1486
1486
  keywords: "Iran Standard Time Tehran IST Iran",
1487
1487
  isDst: true,
1488
1488
  cities: "Tehran"
@@ -1504,7 +1504,7 @@ const Asia = [
1504
1504
  "Asia/Baku"
1505
1505
  ],
1506
1506
  main: "Asia/Baku",
1507
- label: "Azerbaijan Standard Time",
1507
+ label: "Azerbaijan Standard Time (DST)",
1508
1508
  keywords: "Azerbaijan Standard Time Baku AST",
1509
1509
  isDst: true,
1510
1510
  cities: "Baku"
@@ -1796,7 +1796,7 @@ const Asia = [
1796
1796
  "Asia/Kamchatka"
1797
1797
  ],
1798
1798
  main: "Asia/Kamchatka",
1799
- label: "Kamchatka Standard Time",
1799
+ label: "Kamchatka Standard Time (DST)",
1800
1800
  keywords: "Kamchatka Standard Time Kamchatka KST",
1801
1801
  isDst: true,
1802
1802
  cities: "Petropavlovsk-Kamchatsky - Old"
@@ -1833,7 +1833,7 @@ const Atlantic = [
1833
1833
  "Atlantic/Azores"
1834
1834
  ],
1835
1835
  main: "Atlantic/Azores",
1836
- label: "Azores Standard Time",
1836
+ label: "Azores Standard Time (DST)",
1837
1837
  keywords: "Azores Standard Time Scoresbysund Azores AST",
1838
1838
  isDst: true,
1839
1839
  cities: "Scoresbysund, Azores"
@@ -1844,7 +1844,7 @@ const Atlantic = [
1844
1844
  "Etc/GMT+1"
1845
1845
  ],
1846
1846
  main: "Atlantic/Cape_Verde",
1847
- label: "Cape Verde Standard Time",
1847
+ label: "Cape Verde Standard Time (DST)",
1848
1848
  keywords: "Cape Verde Standard Time Cape Verde GMT+1 CVST CST",
1849
1849
  isDst: true,
1850
1850
  cities: "Cape Verde"
@@ -1870,8 +1870,8 @@ const Australia = [
1870
1870
  "Australia/South"
1871
1871
  ],
1872
1872
  main: "Australia/Adelaide",
1873
- label: "Australian Central Daylight Time",
1874
- keywords: "AUS Cen. Australia Daylight Time Adelaide South Broken Hill ACDT",
1873
+ label: "Australian Central Standard Time (DST)",
1874
+ keywords: "AUS Cen. Australia Standard Time Adelaide South Broken Hill ACDT",
1875
1875
  isDst: true,
1876
1876
  cities: "Adelaide, Broken Hill, Austrailia South"
1877
1877
  },
@@ -1909,8 +1909,8 @@ const Australia = [
1909
1909
  "Australia/Lord_Howe"
1910
1910
  ],
1911
1911
  main: "Australia/Sydney",
1912
- label: "Australian Eastern Daylight Time",
1913
- keywords: "AUS Eastern Daylight Time Melbourne Sydney Victoria ACT AEDT LHI Lord_Howe NSW",
1912
+ label: "Australian Eastern Standard Time (DST)",
1913
+ keywords: "AUS Eastern Standard Time Melbourne Sydney Victoria ACT AEDT LHI Lord_Howe NSW",
1914
1914
  isDst: true,
1915
1915
  cities: "Melbourne, Sydney, Canberra NSW Victoria"
1916
1916
  },
@@ -1921,8 +1921,8 @@ const Australia = [
1921
1921
  "Australia/Tasmania"
1922
1922
  ],
1923
1923
  main: "Australia/Hobart",
1924
- label: "Tasmania Daylight Time",
1925
- keywords: "AUS Tasmania Daylight Time Currie Hobart Tasmania AEDT TDT",
1924
+ label: "Tasmania Standard Time (DST)",
1925
+ keywords: "AUS Tasmania Standard Time Currie Hobart Tasmania AEDT TDT",
1926
1926
  isDst: true,
1927
1927
  cities: "Currie, Hobart, Tasmania"
1928
1928
  }
@@ -1938,7 +1938,7 @@ const Europe = [
1938
1938
  "Europe/Jersey"
1939
1939
  ],
1940
1940
  main: "Europe/London",
1941
- label: "GMT Standard Time",
1941
+ label: "GMT Standard Time (DST)",
1942
1942
  keywords: "GMT Standard Time Isle of_Man Guernsey Jersey London GB Edinburgh England, GB-Eire",
1943
1943
  isDst: true,
1944
1944
  cities: "London, Edinburgh, Isle of Man, Guernsey, Jersey"
@@ -1956,7 +1956,7 @@ const Europe = [
1956
1956
  "Portugal"
1957
1957
  ],
1958
1958
  main: "Europe/Lisbon",
1959
- label: "Western European Time",
1959
+ label: "Western European Time (DST)",
1960
1960
  keywords: "WET Western European Time Canary Faeroe Faroe Madeira Dublin Lisbon Eire Portugal",
1961
1961
  isDst: true,
1962
1962
  cities: "Canary, Faeroe, Faroe, Madeira, Dublin, Lisbon, Eire"
@@ -2000,7 +2000,7 @@ const Europe = [
2000
2000
  "Europe/Zurich"
2001
2001
  ],
2002
2002
  main: "Europe/Berlin",
2003
- label: "Central European Time",
2003
+ label: "Central European Time (DST)",
2004
2004
  keywords: "CET Central European Time Amsterdam Andorra Belgrade Berlin Bern Bratislava Brussels Budapest Busingen Ceuta Copenhagen Gibraltar Ljubljana Longyearbyen Luxembourg Madrid Malta Monaco Oslo Paris Podgorica Prague Rome San Marino Stockholm Tirane Vaduz Vatican Vienna Zurich Spain France Italy Germany Poland",
2005
2005
  isDst: true,
2006
2006
  cities: "Amsterdam, Andorra, Belgrade, Berlin, Bern, Bratislava, Brussels, Budapest, Busingen, Ceuta, Copenhagen, Gibraltar, Ljubljana, Longyearbyen, Luxembourg, Madrid, Malta, Monaco, Oslo, Paris, Podgorica, Prague, Rome, San Marino, Stockholm, Tirane, Vaduz, Vatican, Vienna, Zurich"
@@ -2027,7 +2027,7 @@ const Europe = [
2027
2027
  "Europe/Zaporizhzhia"
2028
2028
  ],
2029
2029
  main: "Europe/Kyiv",
2030
- label: "Eastern European Time",
2030
+ label: "Eastern European Time (DST)",
2031
2031
  keywords: "Eastern European Time Athens Bucharest Chisinau Helsinki Kiev Kyiv Mariehamn Nicosia Riga Sofia Tallinn Uzhgorod Uzhhorod Vilnius Zaporozhye Zaporizhzhia EEST",
2032
2032
  isDst: true,
2033
2033
  cities: "Athens, Bucharest, Chisinau, Helsinki, Kiev, Kyiv, Mariehamn, Nicosia, Riga, Sofia, Tallinn, Uzhgorod, Uzhhorod, Vilnius, Zaporozhye, Zaporizhzhia"
@@ -2238,7 +2238,7 @@ const UsCanada = [
2238
2238
  "PST8PDT"
2239
2239
  ],
2240
2240
  main: "America/Los_Angeles",
2241
- label: "Pacific Standard Time",
2241
+ label: "Pacific Standard Time (DST)",
2242
2242
  keywords: "Pacific Standard Time PST8PDT PST California Las Vegas Los Angeles Nevada Palm Springs San Diego San Francisco Tijuana Vancouver Washington BajaNorte",
2243
2243
  isDst: true,
2244
2244
  cities: "California, Las Vegas, Los Angeles, Nevada, Palm Springs, San Diego, San Francisco, Tijuana, BajaNorte, Vancouver, Washington"
@@ -2256,7 +2256,7 @@ const UsCanada = [
2256
2256
  "Etc/GMT+7"
2257
2257
  ],
2258
2258
  main: "America/Phoenix",
2259
- label: "Mountain Time",
2259
+ label: "Mountain Standard Time",
2260
2260
  keywords: "US Mountain Standard Time GMT+7 MT MST Creston Dawson Creek Hermosillo Phoenix Whitehorse Yukon Arizona",
2261
2261
  isDst: false,
2262
2262
  cities: "Creston, Dawson, Dawson Creek, Hermosillo, Phoenix, Whitehorse"
@@ -2276,7 +2276,7 @@ const UsCanada = [
2276
2276
  "US/Mountain"
2277
2277
  ],
2278
2278
  main: "America/Denver",
2279
- label: "Mountain Time",
2279
+ label: "Mountain Standard Time (DST)",
2280
2280
  keywords: "Mountain Time MST7MDT MT MST MDT Boise Cambridge_Bay Denver Edmonton Inuvik Ojinaga Yellowknife Navajo",
2281
2281
  isDst: true,
2282
2282
  cities: "Boise, Cambridge Bay, Denver, Edmonton, Inuvik, Ojinaga, Yellowknife"
@@ -2302,7 +2302,7 @@ const UsCanada = [
2302
2302
  "CST6CDT"
2303
2303
  ],
2304
2304
  main: "America/Chicago",
2305
- label: "Central Time",
2305
+ label: "Central Standard Time (DST)",
2306
2306
  keywords: "Central Standard Time CST6CDT CT CDT Austin Beulah Center Chicago Illinois Knox Matamoros Menominee Nashville New Salem Rainy River Rankin Inlet Resolute San Antonio Tell City Tennessee Texas Winnipeg Indiana-Starke",
2307
2307
  isDst: true,
2308
2308
  cities: "Austin, Beulah, Center, Chicago, Knox, Matamoros, Menominee, Nashville, New Salem, Rainy River, Rankin Inlet, Resolute, San Antonio, Tell City, Tennessee, Texas, Winnipeg"
@@ -2332,7 +2332,7 @@ const UsCanada = [
2332
2332
  "US/Eastern"
2333
2333
  ],
2334
2334
  main: "America/New_York",
2335
- label: "Eastern Time",
2335
+ label: "Eastern Standard Time (DST)",
2336
2336
  keywords: "Eastern Standard Time EST ET Boston Massachusetts Charleston South Carolina Detroit Florida Havana Iqaluit Louisville Miami Monticello Montreal Nassau New York Nipigon Orlando Pangnirtung Port-au-Prince Petersburg Saint Augustine Thunder Bay Toronto Vincennes Washington D.C Winamac Cuba Michigan",
2337
2337
  isDst: true,
2338
2338
  cities: "Boston, Charleston, Detroit, Florida, Havana, Iqaluit, Louisville, Miami, Monticello, Montreal, Nassau, New York, Nipigon, Orlando, Pangnirtung, Port-au-Prince, Petersburg, Saint Augustine, Thunder Bay, Toronto, Vincennes, Washington D.C, Winamac"
@@ -2347,7 +2347,7 @@ const UsCanada = [
2347
2347
  "US/Alaska"
2348
2348
  ],
2349
2349
  main: "America/Anchorage",
2350
- label: "Alaskan Time",
2350
+ label: "Alaskan Standard Time (DST)",
2351
2351
  keywords: "Alaskan Standard Time AT Anchorage Juneau Nome Sitka Yakutat",
2352
2352
  isDst: true,
2353
2353
  cities: "Anchorage, Juneau, Nome, Sitka, Yakutat"
@@ -2358,7 +2358,7 @@ const UsCanada = [
2358
2358
  "Canada/Newfoundland"
2359
2359
  ],
2360
2360
  main: "America/St_Johns",
2361
- label: "Newfoundland Time",
2361
+ label: "Newfoundland Standard Time (DST)",
2362
2362
  keywords: "Newfoundland Standard Time NT St Johns",
2363
2363
  isDst: true,
2364
2364
  cities: "St Johns"
@@ -2373,7 +2373,7 @@ const UsCanada = [
2373
2373
  "US/Hawaii"
2374
2374
  ],
2375
2375
  main: "Pacific/Honolulu",
2376
- label: "Hawaiian Time",
2376
+ label: "Hawaiian Standard Time",
2377
2377
  keywords: "Hawaiian Standard Time T GMT+10 Honolulu Johnston Lahaina Rarotonga Tahiti",
2378
2378
  isDst: false,
2379
2379
  cities: "Honolulu, Johnston, Lahaina, Rarotonga, Tahiti"
@@ -2819,7 +2819,7 @@ function Button({
2819
2819
  dataCy,
2820
2820
  disabled = false
2821
2821
  }) {
2822
- const { label, keywords: value, isDst, cities } = timezone;
2822
+ const { label, keywords: value, cities } = timezone;
2823
2823
  const getCurrentTimeInTimezone = (timeZone) => {
2824
2824
  const currentTimeInUTC = /* @__PURE__ */ new Date();
2825
2825
  const options = {
@@ -2842,16 +2842,8 @@ function Button({
2842
2842
  "data-cy": dataCy,
2843
2843
  type: "button"
2844
2844
  },
2845
- /* @__PURE__ */ y("div", { className: "neeto-time-zones-button--label relative", key: label }, hideCitiesTooltip ? label : /* @__PURE__ */ y("span", { ...{ value }, title: cities }, label), isDst && /* @__PURE__ */ y(
2846
- "small",
2847
- {
2848
- ...{ value },
2849
- title: "Daylight savings time applicable",
2850
- className: "neeto-time-zones-button__dst"
2851
- },
2852
- " (DST)"
2853
- )),
2854
- /* @__PURE__ */ y("span", { className: "neeto-time-zones-button--time" }, getCurrentTimeInTimezone(timezone.utc[0])),
2845
+ /* @__PURE__ */ y("div", { className: "neeto-time-zones-button--label relative", key: label }, hideCitiesTooltip ? label : /* @__PURE__ */ y("span", { ...{ value }, title: cities }, label)),
2846
+ /* @__PURE__ */ y("span", { className: "neeto-time-zones-button--time" }, getCurrentTimeInTimezone((timezone == null ? void 0 : timezone.main) || (timezone == null ? void 0 : timezone.utc[0]))),
2855
2847
  children
2856
2848
  );
2857
2849
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-time-zones",
3
- "version": "0.8.10",
3
+ "version": "0.8.12",
4
4
  "license": "MIT",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {