optimize finding events by time
Merge branch 'master' of https://github.com/Hinogary/czelta