From 407d33b6231f5a07743ad1f45c94abeaa0ca3bde Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Mon, 21 Jul 2025 19:43:38 +0200 Subject: [PATCH] replace 2x with DT_FORMAT_TIMESTAMP --- radicale/app/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/app/report.py b/radicale/app/report.py index 45828fd0..fb54b5aa 100644 --- a/radicale/app/report.py +++ b/radicale/app/report.py @@ -298,10 +298,10 @@ def xml_report(base_prefix: str, path: str, xml_request: Optional[ET.Element], xmlutils.webdav_error("C:expand") start = datetime.datetime.strptime( - starts, '%Y%m%dT%H%M%SZ' + starts, DT_FORMAT_TIMESTAMP ).replace(tzinfo=datetime.timezone.utc) end = datetime.datetime.strptime( - ends, '%Y%m%dT%H%M%SZ' + ends, DT_FORMAT_TIMESTAMP ).replace(tzinfo=datetime.timezone.utc) time_range_start = None