V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
SharkIng
V2EX  ›  问与答

有什么办法能够在 Chrome 上临时修改时区的么?

  •  
  •   SharkIng · Jan 22, 2017 · 8920 views
    This topic created in 3390 days ago, the information mentioned may be changed or developed.

    修改系统时区然后重启 Chrome 的确可行,但是太麻烦了,现在需要测试一个可能因为时区造成的 Bug ,需要让网页使用浏览器时区 /系统时区的时候进行一些调整,测试 UTC 时区↓的显示,当地时区的显示以及几个其他时区等。

    有没有个什么插件之类的可以实现的??

    1 replies    2017-01-22 10:04:21 +08:00
    hahastudio
        1
    hahastudio  
       Jan 22, 2017
    No way.
    http://stackoverflow.com/questions/16448754/how-to-use-a-custom-time-in-browser-to-test-for-client-vs-server-time-difference
    话说这个方法已经是最简单的了吧, Selenium 之类的自动化测试工具也不会很烦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2921 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:15 · PVG 15:15 · LAX 00:15 · JFK 03:15
    ♥ Do have faith in what you're doing.