I'm creating a site using PHP, and it needs to display the time on the page according to the user's timezone.
After some searching, I couldn't find a server-side way to do it, and all of the solutions required detecting the timezone using JS and refreshing the page. Such as : PHP timestamp date to user timezone
Now, this works. I am saving the timezone on user's cookies so the site doesn't refresh again. But I'm wondering if there is an SEO penalty if the crawlers detect a refresh upon visiting a site/page for the first time?