mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
replace 2x with DT_FORMAT_TIMESTAMP
This commit is contained in:
parent
03bbc61e6e
commit
407d33b623
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue