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

Commit

Permalink
6.1.3: fix #16
Browse files Browse the repository at this point in the history
  • Loading branch information
J. T. L committed Aug 28, 2017
1 parent e5d7a24 commit 15e81f5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ function coarse() {
force_urban(44.9280, -87.1853, urban_data); // fix #13
force_urban(50.7029, -57.3511, urban_data); // fix #13
force_urban(49.7261, -1.9104, urban_data); // fix #15
force_urban(65.5280, 23.5570, urban_data); // fix #16

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.2",
"version": "6.1.3",
"description": "fast time zone lookup",
"main": "tz.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe("tzlookup", function() {
[[ 44.9280, -87.1853], "America/Chicago"], // #13
[[ 50.7029, -57.3511], "America/St_Johns"], // #13
[[ 49.7261, -1.9104], "Europe/Paris"], // #15
[[ 65.8500, 23.1333], "Europe/Stockholm"], // #16
[[ 65.5280, 23.5570], "Europe/Stockholm"], // #16

/* 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 15e81f5

Please sign in to comment.