DEV Community

0 seconds of 49 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
00:49
 
Mahek Jariwala
Mahek Jariwala

Posted on

3

Test your website in different Timezone

There was a time when your customer faced time zone related issue in your website like customer saw a different date then the date for which it made a booking.
First steps that think is to change computer time zone with the customer time zone. But, When you change the time zone the browser sometimes stopped working. To avoid this kind of issue we can use Sensors feature available in Chrome Browser. Using Sensors feature we can able to change the timezone in browser easily.
To change time zone follow steps which are given below:

  1. Open Google chrome browser.
  2. Open developer tools using Ctrl + Shift + J command in Windows and Linux or using Cmd + Option + J command in Mac.
  3. Focus the console panel by clicking on it.
  4. Now press Command + Shift + P on Mac or Control + Shift + P on Windows, Linux. This will open dropdown.
  5. In this dropdown type Sensors, You can see Show Sensors option in Dropdown, Click on it.
  6. You can now show Sensors panel.
  7. In Sensors panel, You can see location dropdown.
  8. Click on location dropdown, You can see list of locations. From this location, you can select location match with the customer location.
  9. If there is no customer matching location available then there is an option to add new location as well called Location unavailable. You can select this option to manually add location like lat, long, TimezoneId and locale. This lat, long, TimezoneId and locale overrider only when you select Location unavailable option.
  10. If customer matching location available then you can select that option.
  11. You can refresh the page. (Note: Do not close the console).

Now you can test your website based on customer timezone.

Billboard image

Monitor more than uptime.

With Checkly, you can use Playwright tests and Javascript to monitor end-to-end scenarios in your NextJS, Astro, Remix, or other application.

Get started now!

Top comments (1)

Collapse
 
joseamayadev profile image
José Antonio Fernández

Nice 😎

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay