Thursday, December 13, 2018

#26 2017-09-19 05:58:05 am

Shane Stanley
From:: Australia
Registered: 2002-12-07
Posts: 5487

Re: Local time for any latitude/longitude location

Nigel Garvey wrote:

Both properties work here and return identical dictionaries. Is there any particular advantage to either?

I'm not sure why I used components, to be honest -- I'm pretty sure I originally used addressComponents, which I saw in the docs, but must have changed it later (that code was removed and reinstated a couple of times).

However I just looked up the header file and the entry for addressComponents has the comment: Deprecated in favor of components, so I'll put it down to subliminal something-or-other smile

a couple of lines added to percent-encode any diacriticals in the address for the URL query:


Shane Stanley <>



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)