handle the case when event's datetime is None
Merge branch 'master' of https://github.com/xiechao06/WorkFlowRepr