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

User selectable time zones #10

Open
4 tasks done
microstudi opened this issue Aug 22, 2022 · 1 comment
Open
4 tasks done

User selectable time zones #10

microstudi opened this issue Aug 22, 2022 · 1 comment
Assignees

Comments

@microstudi
Copy link

microstudi commented Aug 22, 2022

Currently, it is possible to define the organization time zone for the organization.

We want to add this options at the user level too.

Mockup:
Screenshot from 2022-08-22 23-17-10

Criteria:

  • Add a migration for the User model, similar as the organization with the personal timezone config there.
  • Add a form entry in the "My account" where to choose the time zone. Default value must be the same as the organization.
  • Modify decidim-core/app/controllers/concerns/decidim/use_organization_time_zone.rb so it uses the organization time zone or the user timezone accordingly.
  • Add some tests

References:
This PR introduced timezones in the organizations:
decidim#5607

Note: Create the PR from the branch release/0.26-stable against release/0.26-stable in this repository

@antopalidi
Copy link
Member

I made changes to the code.
But I have doubts about the third point. And for him I did not make a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants