ticket:3 fix date generating