Skip to content

Commit 2de15af

Browse files
committed
e2e automation fractional seconds
1 parent ec6a4fa commit 2de15af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e_automation/utilities/date_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def iso_to_compact(dt_str):
2626

2727
def normalize_utc_suffix(timestamp: str) -> str:
2828
dt = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
29-
return dt.isoformat(timespec="milliseconds").replace("+00:00", "Z")
29+
return dt.replace(microsecond=0).isoformat(timespec="milliseconds").replace("+00:00", "Z")
3030

3131

3232
def is_valid_date(date_str: str) -> bool:

0 commit comments

Comments
 (0)