We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec6a4fa commit 2de15afCopy full SHA for 2de15af
1 file changed
tests/e2e_automation/utilities/date_helper.py
@@ -26,7 +26,7 @@ def iso_to_compact(dt_str):
26
27
def normalize_utc_suffix(timestamp: str) -> str:
28
dt = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
29
- return dt.isoformat(timespec="milliseconds").replace("+00:00", "Z")
+ return dt.replace(microsecond=0).isoformat(timespec="milliseconds").replace("+00:00", "Z")
30
31
32
def is_valid_date(date_str: str) -> bool:
0 commit comments