Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
v6.1.16: fix #40
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay LaPorte committed Mar 6, 2019
1 parent 30e960d commit 0881514
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ for(const [lat, lon] of [
[61.7132, 29.3968], // fix #36
[41.6724, -86.5082], // fix #38
[27.9881, 86.9253], // Mount Everest
[47.3525, -102.6214], // Dunn Center, North Dakota
[47.3525, -102.6214], // Dunn Center, North Dakota
[19.7500, -88.7000], // fix #40
[21.1000, -87.4833], // fix #40
]) {
urban_geojson.features.push({
properties: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"scripts": {
"test": "mocha"
},
"version": "6.1.15"
"version": "6.1.16"
}
11 changes: 11 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,17 @@ describe("tzlookup", function() {
[[ 41.6724, -86.5082], "America/Indiana/Indianapolis"], // #38
[[ 27.9881, 86.9253], "Asia/Shanghai"], // Mount Everest
[[ 47.3525, -102.6214], "America/Denver"], // Dunn Center, North Dakota
[[ 20.5104, -86.9493], "America/Cancun"], // #40 (San Miguel de Cozumel)
[[ 19.5786, -88.0453], "America/Cancun"], // #40 (Felipe Carrillo Puerto)
[[ 21.2333, -86.7333], "America/Cancun"], // #40 (Isla Mujeres)
[[ 18.5036, -88.3053], "America/Cancun"], // #40 (Chetumal)
[[ 21.1606, -86.8475], "America/Cancun"], // #40 (Cancún)
[[ 19.7500, -88.7000], "America/Cancun"], // #40 (José María Morelos)
[[ 21.1000, -87.4833], "America/Cancun"], // #40 (Kantunilkín)
[[ 20.6275, -87.0811], "America/Cancun"], // #40 (Playa del Carmen)
[[ 20.2119, -87.4658], "America/Cancun"], // #40 (Tulum)
[[ 18.6769, -88.3953], "America/Cancun"], // #40 (Bacalar)
[[ 20.8536, -86.8753], "America/Cancun"], // #40 (Puerto Morelos)

// Check that we resolve conflicting zones adequately.
[[ 43.8250, 87.6000], "Asia/Urumqi"],
Expand Down
2 changes: 1 addition & 1 deletion tz.js

Large diffs are not rendered by default.

0 comments on commit 0881514

Please sign in to comment.