Is it possible to add Timezone and time offset spoofing?
It is possible but very complex to get everything consistent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Especially the string functions.
I'm not sure if it's worth the effort. What's your use case?
I see.
I'm testing client-server behavior with different TZ in my project so I'm working with -no-remote flag with few browsers running.
If it's hard to implement then please close the issue :)
All the set.. and get... functions that only return numbers are quite straight forward. But something like parse is tough - I would have to build my own parser to know how to fake that correctly.
Most helpful comment
It is possible but very complex to get everything consistent: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date
Especially the string functions.
I'm not sure if it's worth the effort. What's your use case?