[fix] [minor] email digest events fix

This commit is contained in:
Anand Doshi 2013-07-28 09:15:11 +05:30
parent af15a4a496
commit 5f6022681b

View File

@ -294,7 +294,7 @@ class DocType(DocListController):
def get_calendar_events(self, user_id):
from core.doctype.event.event import get_events
events = get_events(self.future_from_date, self.future_to_date)
events = get_events(self.future_from_date.strftime("%Y-%m-%d"), self.future_to_date.strftime("%Y-%m-%d"))
html = ""
if events: