eternicode/bootstrap-datepicker — pull request #505 by Dudemullet (2013-06-13 06:40:31+00:00)
Title: Added test cases for the exposed API.

I think having test cases for the **public API** makes sense. Especially since these tests are currently failing. I know the calendar is using UTC in the back, but it becomes very hard to use when this simple test case fails.

Should we build an auto-translate? I don't know what the best solution might be right now. But I do think that **whatever the user passes to setDate** is what should be returned by the calendar object on getDate. Makes sense?

**NOTE**: The only active tests are setDate and setUTCDate for now, since I didn't want everything to explode. All public methods are *typed* just need to un-comment them when ready to build the test.