Convert seller's "opens at" time to browser geolocation based timezone
There is a section in the vehicle details page that shows what time the Seller’s business opens (assuming only if closed). In the example provided, I see the city and state is already known (Nissan of Stockton in Stockton, CA).
With that info, it would be a nice to show the time converted to the user’s (browsers) local timezone.
Closed (opens 9am local)
Example: https://visor.vin/search/listings/JTEEU5JR4R5308210?make=Toyota&model=4Runner&agnostic=false&miles_min=0&miles_max=40000&base_exterior_color=Blue&price_min=28500&price_max=39250&drivetrain=RWD&year=%222024%22
Unsure if this helps, but this is the text I’m referencing.
//*[@id="radix-«rqm»"]/div/div[5]/div[1]/div/table/tbody/tr[7]/td[2]/div[1]/div[2]/div[1]/button[3]/div/div/span/span
Log in to comment and vote
Comments1
Cole Smith
Jul 30, 2025
Hey @Jason Costello - You are correct, the “9am local” text is local to the dealership, not to you. When we were implementing this, we were wondering how to show both without it being confusing. We opted to prioritize the dealer local time first, but I appreciate you reminding me that we also need to bring in local time as well. Craig and I will think about how best to do this. Feel free to share ideas if you have them!