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

Commit

Permalink
v6.1.18: fix #45
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay LaPorte committed Apr 18, 2019
1 parent 0e1441c commit aa4fa9d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 33 deletions.
63 changes: 32 additions & 31 deletions pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,37 +66,38 @@ for(const geojson of [tz_geojson, urban_geojson]) {

// HACK: Add custom urban areas in order to fix reported errors.
for(const [lat, lon] of [
[36.8381, -84.8500],
[37.9643, -86.7453],
[58.3168, -134.4397],
[36.9147, -111.4558], // fix #7
[44.9280, -87.1853], // fix #13
[50.7029, -57.3511], // fix #13
[29.9414, -85.4064], // fix #14
[49.7261, -1.9104], // fix #15
[65.5280, 23.5570], // fix #16
[35.8722, -84.5250], // fix #18
[60.0961, 18.7970], // fix #23
[59.9942, 18.7794], // fix #23
[59.0500, 15.0412], // fix #23
[60.0270, 18.7594], // fix #23
[60.0779, 18.8102], // fix #23
[60.0239, 18.7625], // fix #23
[59.9983, 18.8548], // fix #23
[37.3458, -85.3456], // fix #24
[46.4547, -90.1711], // fix #25
[46.4814, -90.0531], // fix #25
[46.4753, -89.9400], // fix #25
[46.3661, -89.5969], // fix #25
[46.2678, -89.1781], // fix #25
[39.6217, -87.4522], // fix #27
[39.6631, -87.4307], // fix #27
[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
[19.7500, -88.7000], // fix #40
[21.1000, -87.4833], // fix #40
[ 36.8381, -84.8500],
[ 37.9643, -86.7453],
[ 58.3168, -134.4397],
[ 36.9147, -111.4558], // fix #7
[ 44.9280, -87.1853], // fix #13
[ 50.7029, -57.3511], // fix #13
[ 29.9414, -85.4064], // fix #14
[ 49.7261, -1.9104], // fix #15
[ 65.5280, 23.5570], // fix #16
[ 35.8722, -84.5250], // fix #18
[ 60.0961, 18.7970], // fix #23
[ 59.9942, 18.7794], // fix #23
[ 59.0500, 15.0412], // fix #23
[ 60.0270, 18.7594], // fix #23
[ 60.0779, 18.8102], // fix #23
[ 60.0239, 18.7625], // fix #23
[ 59.9983, 18.8548], // fix #23
[ 37.3458, -85.3456], // fix #24
[ 46.4547, -90.1711], // fix #25
[ 46.4814, -90.0531], // fix #25
[ 46.4753, -89.9400], // fix #25
[ 46.3661, -89.5969], // fix #25
[ 46.2678, -89.1781], // fix #25
[ 39.6217, -87.4522], // fix #27
[ 39.6631, -87.4307], // fix #27
[ 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
[ 19.7500, -88.7000], // fix #40
[ 21.1000, -87.4833], // fix #40
[-31.6750, 128.8831], // fix #45
]) {
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.17"
"version": "6.1.18"
}
2 changes: 2 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ describe("tzlookup", function() {
[[ 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)
[[-31.6750, 128.8831], "Australia/Eucla"], // # 45
[[-31.9567, 141.4678], "Australia/Broken_Hill"], // #46

// 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 aa4fa9d

Please sign in to comment.