1. Jon Nylander
  2. jsTimezoneDetect
  3. Issues


Issue #70 on hold

Invalid time zone detected

created an issue

console.debug(new Date) Mon Jun 17 2013 09:21:13 GMT+0300 (E. Africa Standard Time)

var timezone = jstz.determine(); timezone.name() "Asia/Baghdad"

Comments (3)

  1. Jon Nylander repo owner

    As long as you are in a +3 time zone without adjustments for summer Asia/Baghdad is correct as far as the scope of this little script.

    It does not do geo-location - if gives you a time zone that works (not necessarily for displaying to the end user, but for datetime normalisations)

  2. Log in to comment