diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-07-13 13:39:02 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-07-13 13:39:02 +0200 |
commit | bbabfa8913b349c79023df2fcfba79b257ddc7d4 (patch) | |
tree | a900d6302e8d1f4b10a5ee2dd6e3f40cf6cc41e0 /pykolab/xml/__init__.py | |
parent | 02b4f24ca5cf66fd108f723cb4bfb6319a9d93a8 (diff) | |
download | pykolab-bbabfa8913b349c79023df2fcfba79b257ddc7d4.tar.gz |
Add utils.to_dt() as a convenience function to transform a d or dt into a datetime (with timezone) for comparison in resource management
Diffstat (limited to 'pykolab/xml/__init__.py')
-rw-r--r-- | pykolab/xml/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/xml/__init__.py b/pykolab/xml/__init__.py index db12a33..5ca2837 100644 --- a/pykolab/xml/__init__.py +++ b/pykolab/xml/__init__.py @@ -10,6 +10,8 @@ from event import InvalidEventDateError from event import event_from_ical from event import event_from_string +from utils import to_dt + __all__ = [ "Attendee", "Contact", @@ -17,6 +19,7 @@ __all__ = [ "Event", "event_from_ical", "event_from_string", + "to_dt", ] errors = [ |