talawa-api icon indicating copy to clipboard operation
talawa-api copied to clipboard

API - Set Organization Timezone Feature

Open palisadoes opened this issue 11 months ago • 11 comments

Is your feature request related to a problem? Please describe.

The Talawa applications assume that the:

  1. user and organization are in the same timezone
  2. API server and the organization are in the same timezone

This will create confusion when an organization’s stakeholders and its service providers are geographically dispersed.

Describe the solution you'd like

We need organizations to be able to:

  1. set their timezone to internationally recognizable values
  2. allow the client apps to use this information to adjust all dates presented to that of the user
  3. allow the user to see times relative to the timezone of the organization

The default timezone must be UTC

Describe alternatives you've considered

  • N/A

Approach to be followed (optional)

Talawa-Admin

  1. The feature must be added to the existing organization screen
  2. The UI/UX look and feel must be maintained

Talawa-API

  1. The timezone value must be stored in a way specific to the organization
  2. All dates must be stored in the same timezone
  3. The preferred timezone is UTC

Other

  1. Adjusting other screens in the client application are out of scope at this time
  2. Tests must be written for this feature for 100% coverage of the patch
  3. All tests must be valid.

Additional context

Related issues:

We prefer the same person to be assigned both of these issues:

  1. https://github.com/PalisadoesFoundation/talawa-admin/issues/1800
  2. https://github.com/PalisadoesFoundation/talawa-api/issues/2096

These issues are also relevant:

  1. https://github.com/PalisadoesFoundation/talawa-admin/issues/1813
  2. https://github.com/PalisadoesFoundation/talawa/issues/2446

Other:

  1. NOTE: This is going to require someone with experience with the repo, or proven long term experience with typescript, MERN, and / or graphQL in their GitHub profile

Potential internship candidates

  • Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359

palisadoes avatar Mar 25 '24 16:03 palisadoes

I Would like to work on this

AVtheking avatar Mar 28 '24 03:03 AVtheking

@AVtheking You currently have 3 issues. I know you have an extra issue because 2 are related. So I don't want to assign a 4th. Our policy is to assign no more than two issues to each contributor across all repositories. This way everyone gets a chance to participate in the projects. We sometimes give exceptions for more urgent cases and sometimes we lose track, but the policy stands. You have reached your limit, please wait until your existing issues are closed before requesting more issues. You could unassign yourself from one of the other issues too.

Cioppolo14 avatar Mar 28 '24 11:03 Cioppolo14

@Cioppolo14 sorry for the inconveniences I know about 2 issues policy but I asked before assignment of those 2 issues.

AVtheking avatar Mar 28 '24 12:03 AVtheking

No problem, @AVtheking! That occurred to me that the timing might have been coincidental. Thank you!

Cioppolo14 avatar Mar 28 '24 23:03 Cioppolo14

Please assign this issue to me.

Shubh152 avatar Mar 29 '24 13:03 Shubh152

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar Apr 09 '24 00:04 github-actions[bot]

Unassigned. Inactivity

palisadoes avatar Apr 09 '24 02:04 palisadoes

I will make a PR at the end of the week, I was caught up with exams. Please reassign.

Shubh152 avatar Apr 09 '24 02:04 Shubh152

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar Apr 21 '24 00:04 github-actions[bot]

Unassigning. inactivity

palisadoes avatar Apr 21 '24 06:04 palisadoes

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar May 03 '24 00:05 github-actions[bot]

@palisadoes can I take up this issue ?

Girishbari avatar Jul 23 '24 07:07 Girishbari

Once logged in as an admin I see I am in Unity Foundation organization, we need admin to set timezone for their respective organization, is that the issue wants to solve

Girishbari avatar Jul 26 '24 10:07 Girishbari

I want to have discussion on this issue, dropped message on slack talwa-api @palisadoes

Girishbari avatar Jul 27 '24 15:07 Girishbari

@Girishbari this is This is an issue that @pranshugupta54 should be working on. It was created as part of an ongoing project. I'll have to unassign it.

@pranshugupta54 please comment on this so that it can be assigned.

palisadoes avatar Jul 30 '24 17:07 palisadoes

Self Assigned it 👍

pranshugupta54 avatar Jul 30 '24 17:07 pranshugupta54

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

github-actions[bot] avatar Aug 11 '24 00:08 github-actions[bot]

@pranshugupta54 How is this being handled in the mobile app? That will need to be fixed too.

palisadoes avatar Sep 10 '24 14:09 palisadoes

True, let me create an issue on Mobile repo. We'll use same approach like web to fix that too.

pranshugupta54 avatar Sep 10 '24 14:09 pranshugupta54