OpenCageData / scala-opencage-geocoder

Scala client for the OpenCage forward/reverse geocoding API
Other
4 stars 2 forks source link

Changing timezone.offsetString type from Int to String #7

Closed louis-byers closed 4 years ago

louis-byers commented 5 years ago

Pull request to fix https://github.com/OpenCageData/scala-opencage-geocoder/issues/6

louis-byers commented 4 years ago

API inconsistently returns an int or a string depending on if the offset is positive or negative. Looks like leading 0 are possible in the negative and that is what was breaking our use case, changing the PR