I'm creating a code where I grab the timezone using ipinfo.io/json and feed it into ezTime. Sometimes it fails (maybe fails to hit timezoned server). But when it works, whenever I use get offset() it returns a wrong value. I'm in GMT-3, so the offSet should be -180, but it returns +180. Tested with other west timezones and got the same results. I also tested with ezTime2, and got the same behavior.
I'm creating a code where I grab the timezone using ipinfo.io/json and feed it into ezTime. Sometimes it fails (maybe fails to hit timezoned server). But when it works, whenever I use get offset() it returns a wrong value. I'm in GMT-3, so the offSet should be -180, but it returns +180. Tested with other west timezones and got the same results. I also tested with ezTime2, and got the same behavior.