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

Store timezones for TimeEntries and finalize how we determine end time #17272

Merged
merged 4 commits into from
Nov 28, 2024

Conversation

klaustopher
Copy link
Contributor

@klaustopher klaustopher commented Nov 25, 2024

Ticket

https://community.openproject.org/projects/stream-time-and-costs/work_packages/59466

What are you trying to accomplish?

During the discussion today we realized that it is important to also persist the timezone of the tracked time entries so that we can properly determine what the time is. We used to anticipate that we could use the user's current timezone from the preferences, but as this might change in the future and would destroy old time entries, we also need to persist the timezone.

We also deducted that we will not need an end_time field but it will be implied by start_time + hours.

Screenshots

What approach did you choose and why?

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@klaustopher klaustopher changed the title Store timezones for TimeEntries Store timezones for TimeEntries and finalize how we determine end time Nov 26, 2024
@as-op as-op self-requested a review November 28, 2024 08:04
Copy link
Contributor

@as-op as-op left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@as-op as-op merged commit 9aca25a into dev Nov 28, 2024
11 checks passed
@as-op as-op deleted the add-timezone-to-time-entry branch November 28, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants