use local times, set times in the template logic