79507055

Date: 2025-03-13 16:28:38
Score: 1.5
Natty:
Report link

Remove the '%' before Z, Z does not need the %:

time_utc = datetime.strptime(utc_string, '%Y-%m-%dT%H:%M:%S.%fZ').replace(tzinfo=timezone.utc)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tanukaum