Remove redundant setDate.
Merge pull request #7 from Meaglin/patch-1

Remove redundant setDate.