Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "timezoner", | ||
"description": "Node.js client library for accessing Google Time Zone API.", | ||
"keywords": [ | ||
"timezone", | ||
"latitude", | ||
"longitude", | ||
"coordinates", | ||
"timezoner", | ||
"Google Time Zone API" | ||
], | ||
"maintainers": "Justin John Mathews <justinjohnmathews@gmail.com>", | ||
@@ -15,3 +23,3 @@ "homepage": "https://github.com/justin-john/node-timezone", | ||
], | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "./lib/timezone", | ||
@@ -18,0 +26,0 @@ "dependencies": {}, |
@@ -17,4 +17,4 @@ node-timezone | ||
timezoner.getTimeZone( | ||
latitude, // Latitude coordinate | ||
longitude, // Longitude coordinate | ||
39.6034810, // Latitude coordinate | ||
-119.6822510, // Longitude coordinate | ||
function (err, data) { | ||
@@ -28,3 +28,13 @@ if (err) { | ||
); | ||
``` | ||
#####Response data: | ||
{ | ||
"dstOffset" : 0.0, | ||
"rawOffset" : -28800.0, | ||
"status" : "OK", | ||
"timeZoneId" : "America/Los_Angeles", | ||
"timeZoneName" : "Pacific Standard Time" | ||
} | ||
More details can be found on docs of [Google TimeZone API](https://developers.google.com/maps/documentation/timezone). | ||
@@ -34,4 +44,4 @@ | ||
(c) 2013 Justin John Mathews<justinjohnmathews@gmail.com>, MIT license. | ||
(c) 2013 Justin John Mathews <justinjohnmathews@gmail.com>, MIT license. | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4375
45