fix crash when getStartTime() returns None
Merge pull request #378 from MissionSt/fix-time-crash

fix crash when getStartTime() returns None