We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First Commit to PR Open time is 0 or null if the system timezone is other than UTC.
If the database timezone is other than UTC, the PullRequest created_at, updated_at, state_changed_at fields time is incorrect.
Due to this, first_commit_to_open becomes a negative value.
first_commit_to_open
first_commit_to_open = pr.created_at - pr_commits[0].created_at
The text was updated successfully, but these errors were encountered:
For example, the PR is merged at 2025-01-30 19:03:23 +05:30 but the postgres shows 2025-01-30 13:33:23 +05:30
2025-01-30 19:03:23 +05:30
2025-01-30 13:33:23 +05:30
This happens if the system date is in Non UTC format and running through manual installation.
If I run middleware using docker, it works properly because docker timezone by default is UTC.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description:
First Commit to PR Open time is 0 or null if the system timezone is other than UTC.
Steps to reproduce:
Additional context
If the database timezone is other than UTC, the PullRequest created_at, updated_at, state_changed_at fields time is incorrect.
Due to this,
first_commit_to_open
becomes a negative value.The text was updated successfully, but these errors were encountered: