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

Add time zone to developer profile #138

Merged
merged 4 commits into from Dec 14, 2021

Conversation

caseyjenks
Copy link
Contributor

Purpose

Adds timezone field to developers

Approach

  • Adds new field time_zone to developers table.
  • Uses time_zone_select for the time zone dropdown
  • Renders the developer's timezone only if they have it filled out on their profile.

Screenshot

image

@joemasilotti
Copy link
Owner

It looks like there's a merge conflict in the scheme file and standard is complaining about some formatting.

@caseyjenks caseyjenks force-pushed the feature/add-timezone branch 2 times, most recently from 11d806b to 6cf729f Compare December 8, 2021 17:24
@caseyjenks
Copy link
Contributor Author

It looks like there's a merge conflict in the scheme file and standard is complaining about some formatting.

Doh, updated

Copy link
Owner

@joemasilotti joemasilotti left a comment

Choose a reason for hiding this comment

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

Looking good! Just a few more changes and we should be good to merge.

db/schema.rb Show resolved Hide resolved
app/views/developers/_details.html.erb Show resolved Hide resolved
app/views/developers/_form.html.erb Outdated Show resolved Hide resolved
@joemasilotti
Copy link
Owner

Looks great, thanks @caseyjenks! I made one change to ensure lines don't get rendered between empty sections.

I'll merge when CI finishes.

@joemasilotti joemasilotti merged commit 25a7742 into joemasilotti:main Dec 14, 2021
5 checks passed
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.

None yet

2 participants