fill in time when create a new event (fix #13)