-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timezone parameter #3
Comments
So, let me see if I understand this ... you want to make a POST using your local timezone, and the server must convert it to GMT-4 and return you the right results... Sounds a good enhancement, can I take this? |
Yes sure go ahead! |
@sanchezg Are you doing this? Any update? |
@sameerkumar18 sorry for the delay! I will be working today on this issue if it is ok, because I was very busy. |
@sanchezg No problem! Do whenever you're free :) |
@sameerkumar18 one question: the only possible values for |
Awesome work @sanchezg For example - http://aztro.herokuapp.com/?sign=aries&day=tomorrow&tz=America/Anchorage Hope someone can fix this too :) |
Closing due to inactivity. Please reopen if necessary :) |
Was TimeZone support added? I am currently trying to figure out a way to calculate the differential between the server time and device local time, then adjusting &day to be either today, tomorrow, yesterday... Would be a lot nicer if this was done on the server lol. Thank you in advance :) |
The timezone of the source for the info on the server side is set to "America/New_York, GMT-0400".
It would be great if we could have one parameter for the timezone as there are many users of this API from various parts of the globe.
Example -
POST: https://aztro.herokuapp.com?sign= <sign> &day= <day> &tz= <GMT_Timezone>
We can consider the standard timezone as GMT and enable this conversion just for "day=today"
The text was updated successfully, but these errors were encountered: