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

Snapshop View - Google Calendar link timezone #7

Open
sgreenslade opened this issue Sep 10, 2017 · 3 comments
Open

Snapshop View - Google Calendar link timezone #7

sgreenslade opened this issue Sep 10, 2017 · 3 comments

Comments

@sgreenslade
Copy link
Contributor

I really like the Google Calendar link to add events to Google Calendar.
However, when I use it it looks like the timezone (set in Admin) is not taken into account.
So for me, in the UK currently on BST (UTC + 1) the event time is an hour out.

Timezone: Europe/London

@sgreenslade
Copy link
Contributor Author

Looking at the Google Calendar URL it seems ok, includes the timezone....

http://www.google.com/calendar/event?action=TEMPLATE&text=Event&dates=20170910T180000Z/20170910T193000Z&details=details&location=location&trp=false&sprop=&sprop=name:&src=&ctz=Europe/London

Wonder why when I click the link that Google has the event an hour later..

10/9/2017 7:00pm to 8:30pm 10/9/2017 (GMT+01:00) LondonTime zone

@sgreenslade
Copy link
Contributor Author

I think that I've found the issue.... If you remove the Z from the times, then Google Calendar uses the Correct Time Zone.

@sgreenslade
Copy link
Contributor Author

One other thing to try, when calling getEventDetails() if you use "%0A" as the separator then this adds 'new line' characters and makes the detals of the event much easier to read.

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

1 participant