Skip to content

Fix bug with timezone-aware datetimes in billing.py#146

Merged
knikolla merged 1 commit into
CCI-MOC:mainfrom
QuanMPhm:bug/tz
May 1, 2026
Merged

Fix bug with timezone-aware datetimes in billing.py#146
knikolla merged 1 commit into
CCI-MOC:mainfrom
QuanMPhm:bug/tz

Conversation

@QuanMPhm

@QuanMPhm QuanMPhm commented May 1, 2026

Copy link
Copy Markdown
Collaborator

A bug was found in the billing.py module where
timezone-aware datetimes were being passed to the
get_runtime_during method, which expects naive datetimes.

This commit fixes the issue by removing the timezone information from the datetimes before passing them to the method.

A bug was found in the billing.py module where
timezone-aware datetimes were being passed to the
get_runtime_during method, which expects naive datetimes.

This commit fixes the issue by removing the timezone information
from the datetimes before passing them to the method.
@QuanMPhm QuanMPhm requested review from knikolla and naved001 May 1, 2026 16:53
@knikolla knikolla merged commit cb898a8 into CCI-MOC:main May 1, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants