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

Commit

Permalink
6.1.6: fix #18
Browse files Browse the repository at this point in the history
  • Loading branch information
J. T. L committed Feb 7, 2018
1 parent 2466ec7 commit 9acade2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function coarse() {
}
}

/* Manually fix specific resolution problem locations. */
// Manually fix specific resolution problem locations.
force_urban(36.8381, -84.8500, urban_data);
force_urban(37.9643, -86.7453, urban_data);
force_urban(36.9147, -111.4558, urban_data); // fix #7
Expand All @@ -124,6 +124,7 @@ function coarse() {
force_urban(29.9414, -85.4064, urban_data); // fix #14
force_urban(49.7261, -1.9104, urban_data); // fix #15
force_urban(65.5280, 23.5570, urban_data); // fix #16
force_urban(35.8722, -84.5250, urban_data); // fix #18

const tz_data = Buffer.allocUnsafe((width / 4) * (height / 2) * 2);
for(let y = 0; y < 2; y++) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tz-lookup",
"version": "6.1.5",
"version": "6.1.6",
"description": "fast time zone lookup",
"main": "tz.js",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ describe("tzlookup", function() {
[[ 29.9414, -85.4064], "America/Chicago"], // #14
[[ 49.7261, -1.9104], "Europe/Paris"], // #15
[[ 65.5280, 23.5570], "Europe/Stockholm"], // #16
[[ 35.8722, -84.5250], "America/New_York"], // #18

/* Sanity-check international waters. */
[[-65, -180], "Etc/GMT+12"],
Expand Down
2 changes: 1 addition & 1 deletion tz.js

Large diffs are not rendered by default.

0 comments on commit 9acade2

Please sign in to comment.