summaryrefslogtreecommitdiffstats
path: root/wallace/module_resources.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-12-02 15:20:33 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-12-02 15:20:46 +0100
commitedf272f88eac3daea1a4221b03ae09f3bbff9350 (patch)
tree0cab82260af2f8e3d7cfdc1b5228e8c69a307a05 /wallace/module_resources.py
parent0970d410e9e8ae94ac7ba0aa7b69c9488310be25 (diff)
downloadpykolab-edf272f88eac3daea1a4221b03ae09f3bbff9350.tar.gz
Convert potential date to datetime
Resolves T1847
Diffstat (limited to 'wallace/module_resources.py')
-rw-r--r--wallace/module_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py
index 331eaa2..f51285a 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -503,7 +503,7 @@ def expunge_resource_calendar(mailbox):
# consider recurring events and get real end date
if event.is_recurring():
- dt_end = event.get_last_occurrence()
+ dt_end = to_dt(event.get_last_occurrence())
if dt_end is None:
# skip if recurring forever
continue