Update to use the local attribute over utc for date objects