Fix the timezone issue

Was passing on my machine but failing on Travis.