sugilog/jquery.daterangepicker — pull request #6 by ecweaver (2013-12-05 19:09:57+00:00)
Title: append timezone offset to date so it parses in correct TZ

Sugi-san:

I ran into an issue where the picker would decrement the date every time it popped up. Traced this to the fact that the Javascript "Date" parser was treating the date as midnight GMT, but here in GMT-8 land, that would print out as if it were 4 PM the previous day. Added the code you see to append a 00:00 time part and a timezone offset string based on the current locale.

Hope this change is acceptable for inclusion.

Eric Weaver
Boopsie, Inc.
Sunnyvale, California