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

Save event times as local time #101

Merged
merged 6 commits into from
Oct 14, 2019
Merged

Save event times as local time #101

merged 6 commits into from
Oct 14, 2019

Conversation

arvidboivie
Copy link
Contributor

@arvidboivie arvidboivie commented Oct 12, 2019

fixes #90.

This solves the issues by saving the times as local time. Perhaps you wanted a different solution of saving them as UTC but with the correct offset?

@erinosher erinosher temporarily deployed to hacksocnotts-pr-101 October 12, 2019 13:39 Inactive
Copy link
Member

@erinosher erinosher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't believe the fields you've added are valid as it's resulted in the file just containing "null".

You are right in assuming that I'm partial to the plugin calculating the offset though.

You can check what's been generated here: https://hacksocnotts-pr-101.herokuapp.com/calendar.ics

@arvidboivie
Copy link
Contributor Author

Hmm, that’s strange. I tried it locally and got the generated ics file without the ‘Z’ notation.

@erinosher erinosher temporarily deployed to hacksocnotts-pr-101 October 12, 2019 16:16 Inactive
@arvidboivie
Copy link
Contributor Author

My bad, the ics package needed an upgrade and I lost that in my first commit. Should work now.

@erinosher erinosher temporarily deployed to hacksocnotts-pr-101 October 14, 2019 15:08 Inactive
@erinosher erinosher temporarily deployed to hacksocnotts-pr-101 October 14, 2019 15:11 Inactive
Copy link
Member

@erinosher erinosher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've had to update your lock files to get it to build. But I'm happy with this change for now.

@erinosher erinosher merged commit c202f67 into HackSocNotts:master Oct 14, 2019
erinosher added a commit that referenced this pull request Oct 17, 2019
DanielCordell pushed a commit that referenced this pull request Oct 21, 2019
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

Successfully merging this pull request may close these issues.

ICS file doesn't respect London Time Zone
2 participants