#216 Tiemzone identifier

Christian Tremblay Mon 6 Oct 2014

Working with python, it would be easier if timezone identifier were given as "complete" identifier instead of city only.

"America/New_York" is recognized out of the box... so I have to manually add the continent string for the timestamp to be correct.

Would it be possible for the site info to display the continent and not only the city ?

Brian Frank Tue 7 Oct 2014

Its really just a form of compression to leave out the continent string because its a lot of characters duplicated in a ton of places. There is actually no city names that overlap b/w continents, so city name is a much more concise identifier. In Java we just build a build hashmap of the underlying timezone names keyed by city, I would assume you can do the same in Python.

Christian Tremblay Tue 7 Oct 2014

@Brian, I understand the reason... Actually, I would have been happy just to see it using a request for site

ex.: http://xx.xx.xx.xx/haystack/read?filter=site

gives dis,geoLat,navName,id,axType,axSlotPath,tz,geoCity,geoAddr,geoCountry,geoPostalCode,geoStreet,geoState,site,area,geoLon

could simply add continent here...

no need to modify the timestamps of histories.

Login or Signup to reply.