Skip to content
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

The timezone is UTC for europe for datesubmitted #102

Open
GCorbel opened this issue Mar 25, 2019 · 7 comments
Open

The timezone is UTC for europe for datesubmitted #102

GCorbel opened this issue Mar 25, 2019 · 7 comments

Comments

@GCorbel
Copy link
Contributor

GCorbel commented Mar 25, 2019

I reached the support team of SurveyGizmo and they said "Timestamps returned in the API are in GMT for all EU accounts. If you use v5 of our API, the time zone is actually included in the data to avoid this confusion." I didn't saw anything on the documentation about that. I'm in contact with their team to update the doc.

I suppose we have to change this line and consider to work on #100 .

@GCorbel GCorbel changed the title The timezone is UTC for europe for datesubmittedat The timezone is UTC for europe for datesubmitted Mar 25, 2019
@jarthod
Copy link
Collaborator

jarthod commented Mar 25, 2019

If it's really the case for EU servers we need to change this line because initially it was UTC+1. But I doubt it is otherwise all customers would complain, do you confirm what they say?

@GCorbel
Copy link
Contributor Author

GCorbel commented Mar 25, 2019

I asked for a link on the documentation to be sure. I will keep you up to date.

@GCorbel
Copy link
Contributor Author

GCorbel commented Mar 26, 2019

Here is the answer of the person of the support team :

Thanks for getting back to me! Thanks for sharing that Ruby gem with me--I actually haven't seen that before! Regrettably, I can't seem to find this documented. I just put in a request to our documentation team. I will keep this case open and when they notify me either that I was looking in the wrong place or that they added it to the page I suggested, I will be sure to let you know.

So we just have to wait for their confirmation.

@GCorbel
Copy link
Contributor Author

GCorbel commented Apr 3, 2019

The documentation has been updated : https://apihelp.surveygizmo.com/help/us-eu-or-ca-api :

If you see app.surveygizmo.eu your account is an EU account. Note that EU accounts use the GMT Timezone.

@jarthod
Copy link
Collaborator

jarthod commented Apr 3, 2019

Ok cool, do you confirm this is what we receive on ALL surveys and that ALL values are currently wrong?

@GCorbel
Copy link
Contributor Author

GCorbel commented Apr 10, 2019

I checked and all surveys I saw has the same issue and has been confirmed by our team.

I created this PR : https://github.com/jarthod/survey-gizmo-ruby/pull/103/files .

@jarthod
Copy link
Collaborator

jarthod commented Apr 11, 2019

Great, thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants