Always strip \n and \r in date.
Merge pull request #1 from berkerpeksag/fix-date

Always strip \n and \r in date.