update achievement gain date to submission date(not grading date)

1. It makes the leaderboard more fair.
2. Tested properly, it works.
Style/EmptyLinesAroundBody: Extra empty line detected at body end.