Set time object to local

By default times are parsed as UTC (as it is the default timezone in the
database). We need to reset the UTC flag if we have a timezone set,
otherwise the timezone setting does not get into effect.