DEV Community

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

Posted on

6

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.

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (1)

Collapse
 
joseamaya profile image
José Antonio Fernández

Nice 😎

Postmark Image

20% off for developers who'd rather build features than debug email

Stop wrestling with email delivery and get back to the code you love. Postmark handles the complexities of email infrastructure so you can ship your product faster.

Start free

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay