Issue #19 resolved


superflycrazy avatarsuperflycrazy created an issue

When changing my Windows 7 system time to Australia/Melbourne (+10:00) this script breaks - undefined. I've googled all over for help on this. Melbourne is a critical timezone of our international members.

Is it as easy as creating a line after "600,0":["+10:00","Australia/Brisbane",!1],"600,1":["+10:00","Asia/Vladivostok",!0],"600,1,s":["+10:00","Australia/Sydney",!0], such as "600,2":["+10:00","Australia/Melbourne",!0] and changing !1 to !2, !0 to !1?

Please advise. Thx!

Comments (6)

  1. Jon Nylander

    (Reply via

    Thank you for reporting, I will take a look at this after the weekend.

    However. The script should result in Australia/Sydney for Melbourne. Without geolocation or IP lookups that's as close as it can get.

    So if you really get undefined when your computer is set to Melbourne. Than that's a bug. Hopefully one I can reproduce and resolve.

    Kind regards, Jon

  2. superflycrazy

    That's correct, on Windows XP and Windows 7, when timezone is set to Melbourne it does not result in Sydney, which is sufficient for our use but instead it shows the js error "a is undefined" and shows as blank on our site. I appreciate your help.

    OH! Just discovered something interesting. I'm in the US so DST is selected usually on my system. The error occurs when selecting Melbourne with DST still selected. I guess Australia doesn't participate with daylight savings?

  3. Jon Nylander

    (Reply via

    I am not in a position to look deeper into the issue right now but will do so after the weekend. Definitely sounds like a bug.

    Thank you again.

    Regards, Jon

  4. Anonymous

    I was having the exact same issue on Mac OSX with both latest version of Chrome and Safari. I tried both minified, un-minified, problem was only solved when I downloaded the minified timezone.js file from the demonstration page and told my script to use that instead of the version(s) I downloaded from BitBucket.

  5. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.