Skip to content

Commit

Permalink
7.4.5rc
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer Kelly authored and Spencer Kelly committed Jul 28, 2023
1 parent 3ff1857 commit 152a6cd
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
14 changes: 8 additions & 6 deletions builds/spacetime.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* spencermountain/spacetime 7.4.4 Apache 2.0 */
/* spencermountain/spacetime 7.4.5 Apache 2.0 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -75,20 +75,21 @@
"4|n": "2/baku,2/dubai,2/muscat,2/tbilisi,2/yerevan,8/astrakhan,8/samara,8/saratov,8/ulyanovsk,8/volgograd,9/mahe,9/mauritius,2/volgograd",
"4.5|n": "2/kabul",
"3|s": "12/syowa,9/antananarivo",
"3|n|04/29:02->10/28:02": "2/gaza,2/hebron",
"3|n|03/26:03->10/29:04": "2/famagusta,2/nicosia,8/athens,8/bucharest,8/helsinki,8/kyiv,8/mariehamn,8/riga,8/sofia,8/tallinn,8/uzhgorod,8/vilnius,8/zaporozhye,8/nicosia,8/kiev",
"3|n|03/26:02->10/29:03": "8/chisinau,8/tiraspol",
"3|n|03/26:00->10/28:24": "2/beirut",
"3|n|03/25:02->10/28:02": "2/gaza,2/hebron",
"3|n|03/24:02->10/29:02": "2/jerusalem,2/tel_aviv,israel",
"3|n": "0/addis_ababa,0/asmara,0/asmera,0/dar_es_salaam,0/djibouti,0/juba,0/kampala,0/mogadishu,0/nairobi,2/aden,2/amman,2/baghdad,2/bahrain,2/damascus,2/kuwait,2/qatar,2/riyadh,8/istanbul,8/kirov,8/minsk,8/moscow,8/simferopol,9/comoro,9/mayotte,2/istanbul,turkey,w-su",
"3.5|n": "2/tehran,iran",
"2|s|03/26:02->10/29:02": "12/troll",
"2|s": "0/gaborone,0/harare,0/johannesburg,0/lubumbashi,0/lusaka,0/maputo,0/maseru,0/mbabane",
"2|n|04/28:00->10/26:24": "0/cairo,egypt",
"2|n|03/26:02->10/29:03": "0/ceuta,arctic/longyearbyen,8/amsterdam,8/andorra,8/belgrade,8/berlin,8/bratislava,8/brussels,8/budapest,8/busingen,8/copenhagen,8/gibraltar,8/ljubljana,8/luxembourg,8/madrid,8/malta,8/monaco,8/oslo,8/paris,8/podgorica,8/prague,8/rome,8/san_marino,8/sarajevo,8/skopje,8/stockholm,8/tirane,8/vaduz,8/vatican,8/vienna,8/warsaw,8/zagreb,8/zurich,3/jan_mayen,poland",
"2|n": "0/blantyre,0/bujumbura,0/cairo,0/khartoum,0/kigali,0/tripoli,8/kaliningrad,egypt,libya",
"2|n": "0/blantyre,0/bujumbura,0/khartoum,0/kigali,0/tripoli,8/kaliningrad,libya",
"1|s": "0/brazzaville,0/kinshasa,0/luanda,0/windhoek",
"1|n|03/26:01->10/29:02": "3/canary,3/faroe,3/madeira,8/dublin,8/guernsey,8/isle_of_man,8/jersey,8/lisbon,8/london,3/faeroe,eire,8/belfast,gb-eire,gb,portugal",
"1|n|03/19:03->04/30:02": "0/casablanca,0/el_aaiun",
"1|n|03/19:03->04/23:02": "0/casablanca,0/el_aaiun",
"1|n": "0/algiers,0/bangui,0/douala,0/lagos,0/libreville,0/malabo,0/ndjamena,0/niamey,0/porto-novo,0/tunis",
"14|n": "11/kiritimati",
"13|s": "11/apia,11/tongatapu",
Expand Down Expand Up @@ -129,7 +130,7 @@
"-3|s": "1/argentina,1/buenos_aires,1/catamarca,1/cordoba,1/fortaleza,1/jujuy,1/mendoza,1/montevideo,1/punta_arenas,1/sao_paulo,12/palmer,12/rothera,3/stanley,1/argentina/la_rioja,1/argentina/rio_gallegos,1/argentina/salta,1/argentina/san_juan,1/argentina/san_luis,1/argentina/tucuman,1/argentina/ushuaia,1/argentina/comodrivadavia,1/argentina/buenos_aires,1/argentina/catamarca,1/argentina/cordoba,1/argentina/jujuy,1/argentina/mendoza,1/argentina/rosario,1/rosario,5/east",
"-3|n|03/12:02->11/05:02": "1/glace_bay,1/goose_bay,1/halifax,1/moncton,1/thule,3/bermuda,6/atlantic",
"-3|n": "1/araguaina,1/bahia,1/belem,1/cayenne,1/maceio,1/paramaribo,1/recife,1/santarem",
"-2|n|03/25:22->10/28:23": "1/nuuk,1/godthab",
"-2|n|03/25:22->10/28:24": "1/nuuk,1/godthab",
"-2|n|03/12:02->11/05:02": "1/miquelon",
"-2|n": "1/noronha,3/south_georgia,5/denoronha",
"-2.5|n|03/12:02->11/05:02": "1/st_johns,6/newfoundland",
Expand Down Expand Up @@ -2702,6 +2703,7 @@
var methods$5 = methods$4;

// javascript setX methods like setDate() can't be used because of the local bias
//these methods wrap around them.

const validate = (n) => {
//handle number as a string
Expand Down Expand Up @@ -4022,7 +4024,7 @@
};
var whereIts$1 = whereIts;

var version = '7.4.4';
var version = '7.4.5';

const main = (input, tz, options) => new Spacetime(input, tz, options);

Expand Down
2 changes: 1 addition & 1 deletion builds/spacetime.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/spacetime.mjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spacetime",
"version": "7.4.4",
"version": "7.4.5",
"description": "figure-out dates across timezones",
"main": "src/index.js",
"unpkg": "builds/spacetime.min.js",
Expand Down Expand Up @@ -62,4 +62,4 @@
"timekeeper": "2.2.0"
},
"license": "Apache-2.0"
}
}
2 changes: 1 addition & 1 deletion src/_version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '7.4.4'
export default '7.4.5'
2 changes: 1 addition & 1 deletion test/goto.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test('goto-from-algiers (no-dst-places)', (t) => {
s = s.goto('Africa/Dakar')
t.equal(s.format('nice-full'), 'Tuesday March 14th, 9:48pm', 'one-hour-left')
//one to the right...
s = s.goto('Africa/Cairo')
s = s.goto('Africa/Bujumbura')
t.equal(s.format('nice-full'), 'Tuesday March 14th, 11:48pm', 'one-hour-right')
//two to the right...
s = s.goto('Asia/Baghdad')
Expand Down
2 changes: 1 addition & 1 deletion test/smoke.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('random november time', (t) => {
['Asia/Karachi', 'Thu 7:35am'],
['America/Toronto', 'Wed 9:35pm'],
['America/New_York', 'Wed 9:35pm'],
['Africa/Cairo', 'Thu 4:35am'],
['Africa/Cairo', 'Thu 3:35am'],
['Asia/Kathmandu', 'Thu 8:20am'],
['Europe/Paris', 'Thu 3:35am'],
['Europe/Kiev', 'Thu 4:35am'], // Alias to "Europe/Kyiv"
Expand Down
3 changes: 2 additions & 1 deletion zonefile/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ export default {
"3.5|n": "2/tehran,iran",
"2|s|03/26:02->10/29:02": "12/troll",
"2|s": "0/gaborone,0/harare,0/johannesburg,0/lubumbashi,0/lusaka,0/maputo,0/maseru,0/mbabane",
"2|n|04/28:00->10/26:24": "0/cairo,egypt",
"2|n|03/26:02->10/29:03": "0/ceuta,arctic/longyearbyen,8/amsterdam,8/andorra,8/belgrade,8/berlin,8/bratislava,8/brussels,8/budapest,8/busingen,8/copenhagen,8/gibraltar,8/ljubljana,8/luxembourg,8/madrid,8/malta,8/monaco,8/oslo,8/paris,8/podgorica,8/prague,8/rome,8/san_marino,8/sarajevo,8/skopje,8/stockholm,8/tirane,8/vaduz,8/vatican,8/vienna,8/warsaw,8/zagreb,8/zurich,3/jan_mayen,poland",
"2|n": "0/blantyre,0/bujumbura,0/cairo,0/khartoum,0/kigali,0/tripoli,8/kaliningrad,egypt,libya",
"2|n": "0/blantyre,0/bujumbura,0/khartoum,0/kigali,0/tripoli,8/kaliningrad,libya",
"1|s": "0/brazzaville,0/kinshasa,0/luanda,0/windhoek",
"1|n|03/26:01->10/29:02": "3/canary,3/faroe,3/madeira,8/dublin,8/guernsey,8/isle_of_man,8/jersey,8/lisbon,8/london,3/faeroe,eire,8/belfast,gb-eire,gb,portugal",
"1|n|03/19:03->04/23:02": "0/casablanca,0/el_aaiun",
Expand Down

0 comments on commit 152a6cd

Please sign in to comment.