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

[Task] Standardize on time to be UTC #9

Open
PhuongHoang opened this issue Aug 22, 2024 · 0 comments
Open

[Task] Standardize on time to be UTC #9

PhuongHoang opened this issue Aug 22, 2024 · 0 comments
Assignees

Comments

@PhuongHoang
Copy link
Contributor

Task Description:
We need to convert all time functions to work with UTC timezone instead of local time. This includes database.

Deliverable(s):
All uses of time in the server code should work with UTC.

Additional Context:
We should be okay if the time is not exposed to the consuming clients. However, /api/v1/themes/versions returns created_at which is in UTC. Without storing time in UTC, we need code to convert the timestamps to UTC.

Let's simplify the server code by making it work with UTC by default. Luxon has good support for this.

Reminders:

  • Assign task to a project (required)
  • Assign task to a sprint (required)
  • Assign task to a developer (optional)
@KaloniGiga KaloniGiga self-assigned this Aug 23, 2024
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

No branches or pull requests

2 participants