These are chat archives for fossasia/open-event-server

28th
Aug 2016
Manan Wason
@mananwason
Aug 28 2016 13:43
@mariobehling Can we provide the timezone of the event from the server events.json file?
Because right now the best way to get the timezone from geopoints is to use timezone API by Google which will not work on the fdroid app and hence the issue fossasia/open-event-android#638
Mario Behling
@mariobehling
Aug 28 2016 18:20
@aviaryan @niranjan94 What is the best way to handle timezone info?
Niranjan Rajendran
@niranjan94
Aug 28 2016 18:21
We are having the time zone as a separate field. (available through the API)... All the date times stored are according to the timezone picked.
Mario Behling
@mariobehling
Aug 28 2016 18:23
@mananwason If it is in the API, then it should be in the JSON files as well.
@aviaryan Could you point @mananwason to it, please?
Manan Wason
@mananwason
Aug 28 2016 18:24
Found it @mariobehling @niranjan94. Thanks!
@niranjan94 Could you also guide me on the list of values that can be used on the server?
These values have to follow a standard otherwise they'll not be useful
Niranjan Rajendran
@niranjan94
Aug 28 2016 18:31
You could check the event creation form... I'm away from laptop right...
Manan Wason
@mananwason
Aug 28 2016 18:35
okay sure
I see the values there but in the json is it displayed by the name or in UTC + x hours notation?
Niranjan Rajendran
@niranjan94
Aug 28 2016 18:42
The standard names as per the tz database
Manan Wason
@mananwason
Aug 28 2016 18:42
Cool. Got it.
Thanks :+1: