Fixing date issue with heroku