Fixed incorrect date bug

Pikaday was changing the time and date for certain dates, this turned
out to be an issue with converting backwards and forwards between UTC
and local time.