-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Record peoples' timezones #2278
Comments
want to work on this issue as no first-timer-only found. @jywarren |
hi @amitsin6h you can take this issue or you can see here for fto candidate(they are close to first-timer issue). |
@Gauravano also most of the fto issues are also taken |
If you can solve this one that would be great !! |
@amitsin6h Are you still looking into this? Would you be interested in pair programming if you are stuck? |
@f3mshep yeah sure. I have some issues also , I can also discuss with you. |
Hi, all -- let's try to solve this in a new controller method in the users_controller, something like What do you think? |
We should record peoples' time zones automatically because we're going to need to:
This has some guidance on this: http://nithinbekal.com/posts/rails-user-timezones/
I was hoping we could do this initially with a button on the profile page, that detects time zone and saves it as a profile tag like
timezone:-06:00
ortimezone:+4:30
which we could parse for later use.On the profile page, we should be able to use
addTag(tagname)
:plots2/app/views/tag/_replication.html.erb
Line 24 in 24b67d6
Later, we would want to add a follow-up issue of using the
timezone
tag in https://github.com/publiclab/plots2/blob/master/app/views/tag/rss.rss.builder to set the default timezone, using Ruby time zone methods:http://api.rubyonrails.org/classes/ActiveSupport/TimeZone.html#method-i-iso8601
The text was updated successfully, but these errors were encountered: