1. Jon Nylander
  2. jsTimezoneDetect

Issues

Issue #26 invalid

Daylight savings wrong

Anonymous created an issue

Daylight savings is returning true, when it should be false.

It's 12:12AM 11/17/2011 here in Virginia (EST) not EDT.

Too bad, I wanted to use this!

Comments (1)

  1. Jon Nylander repo owner

    You can use it!

    The return value signifies that the timezone uses daylight saving time in some way, not whether it uses it right now.

    So it will return true all year around. The interesting part is whether the name of the timezone you got was correct, the daylight saving parameter is only a piece of information about the timezone.

    I will remove it in the next version.

    Regards Jon

  2. Log in to comment