[fix] [minor] email digest events fix
diff --git a/setup/doctype/email_digest/email_digest.py b/setup/doctype/email_digest/email_digest.py
index 881e35a..0354b50 100644
--- a/setup/doctype/email_digest/email_digest.py
+++ b/setup/doctype/email_digest/email_digest.py
@@ -294,7 +294,7 @@
 		
 	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: