diff options
author | Frédéric Péters <fpeters@entrouvert.com> | 2012-01-04 14:13:43 (GMT) |
---|---|---|
committer | Frédéric Péters <fpeters@entrouvert.com> | 2012-01-04 14:13:43 (GMT) |
commit | e3c0c4b3640f050c0195ff6056e882fc7f9f7db3 (patch) | |
tree | 8b07421fc72c2be726a140a883efbddb4daae214 | |
parent | 3befd138166ba43f476f2da9d10b84c5e5d88ca9 (diff) | |
download | tabellio.webviews-e3c0c4b3640f050c0195ff6056e882fc7f9f7db3.zip tabellio.webviews-e3c0c4b3640f050c0195ff6056e882fc7f9f7db3.tar.gz tabellio.webviews-e3c0c4b3640f050c0195ff6056e882fc7f9f7db3.tar.bz2 |
get today date, not datetime
-rw-r--r-- | tabellio/webviews/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tabellio/webviews/misc.py b/tabellio/webviews/misc.py index 7a926e4..10050d0 100644 --- a/tabellio/webviews/misc.py +++ b/tabellio/webviews/misc.py @@ -84,7 +84,7 @@ class PcfHomeFolder(BrowserView, Cached): def get_coming_day_events(self): catalog = getToolByName(self.context, 'portal_catalog') # do not go more than 100 days in the future - start = datetime.datetime.today() + start = datetime.date.today() end = start + datetime.timedelta(100) calendar = getToolByName(self.context, 'portal_calendar') r = catalog( |