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

localtime to UTC and reverse #32

Open
2 tasks
stojanov-igor opened this issue Sep 22, 2022 · 1 comment
Open
2 tasks

localtime to UTC and reverse #32

stojanov-igor opened this issue Sep 22, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@stojanov-igor
Copy link
Member

stojanov-igor commented Sep 22, 2022

When we assign deadlines for a task, currently we don't take into account that users come from different timezones.

The DateTime stored in Substrate has to be universal for all users, so we have to store UTC in the backend.

  • Create conversations that take into account the local timezone of the user and convert it into UTC.
  • Take the UTC coming from substrate and convert it into local timezone of the user.

Needs to investigate if this is already converted by default.

@stojanov-igor stojanov-igor added the enhancement New feature or request label Sep 22, 2022
@stojanov-igor stojanov-igor added this to the Release 1.0 milestone Sep 22, 2022
@stojanov-igor
Copy link
Member Author

I have created a branch for you already.

git fetch origin
git checkout 32-localtime-to-utc-and-reverse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants