Add option to use local times instead of UTC