Is there a way to change your timezone in Chrome devtools?
问题 I've created a tool in JavaScript that determines the current UTC time and checks if another predetermined date has passed yet. I'd like to change my browser to another timezone and see if the tests still pass but I'm having trouble finding a way to do this. Is there a way to do this in Chrome dev tools? If not, do any other suggestions come to mind? 回答1: To do this in Chrome Dev tools you can use the Geolocation sensor emulation. Go to the 3 dotted menu, More Tools and Sensors. There's a