sck-v / google_timezone Goto Github PK
View Code? Open in Web Editor NEWRuby gem to get timezone info by known position(latitude, longitude) using google timezone api
License: MIT License
Ruby gem to get timezone info by known position(latitude, longitude) using google timezone api
License: MIT License
Can you update the gem file to the latest version? I'm linking to the github master right now so I can access the set_default_stub method but I'm not sure if that means it's unstable.
Thanks
$ rails c
Loading development environment (Rails 4.0.0)
irb(main):001:0> GoogleTimezone.fetch(50.1196004, 8.679918299999999)
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
from c:/Ruby200/lib/ruby/2.0.0/net/http.rb:918:in `connect'
When the result from Google is not a success the gem attempts to call raise_error in base.rb. I don't see this method defined in the gem at all so not sure where it was expecting that to come from.
NoMethodError: undefined method `raise_error' for #<GoogleTimezone::Base:0x...>
Hello, I do appreciate your providing this for us to use, but.. how about a little better description than GoogleTimezone(50, 6.7) ?
For example, how do you extract the timezone from that?
Why is there virtually no wiki?
Which of those numbers are expected to be lat, and which is long (I realize we can tell from the values you used in your example, but it could be a bit more explicit).
Shall we use this gem to get all timezone list with zones..?,how it is please help me..!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.