Using Firefox, the demo page works correctly, and updates the result when the time zone is changed.
On Chrome, the script correctly identifies the time zone the first time it runs, but on subsequent reloads, even when the time zone is changed to something else, it reports whatever the time zone was when originally loaded.
- Load the demo page with time zone set to America/Los_Angeles
- Change the system time zone to America/New_York
- Reload the page (or navigate away and back, etc)
- If in Firefox, reports America/New_York - if in Chrome, reports America/Los_Angeles
I had been using commit e265c8e before, and did not ever notice this behavior. I can't say as to if something in the jstz codebase changed, or Chrome though.
Browser and OS: Chrome Version 22.0.1229.94 Ubuntu 12.10