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

Stabilize setup #73

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

codenamev
Copy link

This consolidates a series of issues I ran into getting things setup and running locally. I'd be happy to break any of this up into any separate PRs if you desire; or drop any commits you're not interested in.

@@ -9,7 +9,7 @@ def create

# todo: should we do this everytime?
calendar = service.get_calendar('primary')
user.update!(time_zone: calendar.time_zone.split('/').last.gsub('_', ' '))
user.update!(time_zone: calendar.time_zone)
Copy link
Author

@codenamev codenamev Aug 28, 2023

Choose a reason for hiding this comment

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

When I signed up, my time zone was pulling from Google's APIs in the railsy formatAmerica/New_York. Setting it with the spaces as it is throws an error downstream when trying to use_zone

@@ -116,10 +116,6 @@ def summary
analysis[:summary]
end

def tags
Copy link
Author

Choose a reason for hiding this comment

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

I think this was maybe missed in conflict resolution, but there's a duplicate method that handles an edge case better.

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.

1 participant