Skip to content

Conversation

@jjmerchante
Copy link
Contributor

Replaced datetime.datetime.utcnow() with datetime_utcnow() to ensure consistent offset-aware datetime comparisons when sorting jobs by enqueued_at to avoid this error:

image (3)

Replace all creations of utc datetime with the grimoirelab_toolkit.datetime_utcnow function for consistency.

Replaced `datetime.datetime.utcnow()` with `datetime_utcnow()`
to ensure consistent offset-aware datetime comparisons when
sorting jobs by `enqueued_at` and avoid errors.

Replace all creations of utc datetime with the grimoirelab_toolkit
datetime_utcnow method for consistency.

Signed-off-by: Jose Javier Merchante <[email protected]>
Copy link
Member

@sduenas sduenas left a comment

Choose a reason for hiding this comment

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

LGTM

@sduenas sduenas merged commit 062567f into chaoss:main Oct 9, 2025
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 2.0-alpha1

Development

Successfully merging this pull request may close these issues.

2 participants