fix log date month bug