Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix datetime deprecation #500

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/codegate/ca/codegate_ca.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _load_existing_certificates(self) -> None:
self._cert_cache[common_name] = CachedCertificate(
cert_path=cert_path,
key_path=key_path,
creation_time=datetime.now(datetime.UTC),
creation_time=datetime.now(timezone.utc),
)
else:
logger.debug(f"Skipping expired certificate for {common_name}")
Expand Down
Loading