Commit Graph

20 Commits

Author SHA1 Message Date
Felix Nagel
c0f1bd6526 Calendar tests: Update to QUnit 2.x, shift to use no globals 2016-12-11 17:53:41 +01:00
Felix Nagel
68028e7262 Calendar tests: use dateEqual assert instead of timestamp compare
Fix travis unit test issue due to timezone difference.
2016-11-04 11:26:18 +01:00
Felix Nagel
f010087aca Calendar: Clear value if an invalid min / max option value was given 2016-10-25 01:34:06 +02:00
Felix Nagel
bd488f97a4 Calendar: Clear value if an invalid input was given 2016-10-12 18:47:22 +02:00
Felix Nagel
f64a7a4812 Calendar: Use name space for timestamp data attribute 2016-10-12 01:31:22 +02:00
Felix Nagel
890510c0a0 Calendar tests: Use assert.expect instead of global expect 2016-10-12 01:23:24 +02:00
Felix Nagel
877937e5c6 Calendar tests: Add basic value option tests 2016-10-12 01:04:25 +02:00
Felix Nagel
18ad526cfd Calendar tests: Use setup and teardown methods 2016-10-12 01:04:24 +02:00
Felix Nagel
85fe55335c Calendar tests: Add dateEqual assertion, clean up helper methods 2016-10-05 18:32:11 +02:00
Felix Nagel
e63835cb5c Calendar tests: Fix and update button advances unit tests
Related to 3570cc5a2b
2015-12-02 18:46:34 +01:00
Felix Nagel
2fe43bbbe2 Calendar: Fix jscs errors after merging master 2015-10-08 15:06:55 +02:00
Felix Nagel
3e14e0fe33 Calendar tests: Add comment to number of month test 2015-10-08 00:18:48 +02:00
Felix Nagel
521604eea5 Calendar tests: Test for using right arrow button with numberOfMonth 2015-09-10 23:21:54 +02:00
Felix Nagel
558c31ce47 Calendar tests: Add header buttons test when using date below min option 2015-09-10 23:21:53 +02:00
Felix Nagel
9c88ac943b Calendar tests: Fix min / max range header button state tests 2015-09-10 23:21:24 +02:00
Felix Nagel
31908a1465 Calendar: Make header prev / next buttons min / max option aware
* Disable / enable header buttons according to min / max
* Add tests for header button states
* Improve header button rendering and refreshing
* Improve header button label escaping on create
* Create button pane for multiple pickers (bugfix)
2015-09-10 23:21:24 +02:00
Felix Nagel
09be7b328e Calendar: Fix view when moving between multiple months with keyboard
Make sure numberOfMonths is taken into account while navigating with keyboard
when rendering multiple calendar grids (numberOfMonths > 1).
2015-09-10 23:21:23 +02:00
Felix Nagel
a307992375 Calendar: Fix weekday name jumping when using numberOfMonths option
Fixes weekday name jumping when clicking the last day of the last
grid. Includes some basic tests for multiple month demo and this
specific issue.
2015-08-25 17:47:13 +02:00
Scott González
31d9184aa3 Merge branch 'master' into datepicker 2015-08-20 09:48:11 -04:00
Scott González
71d8f16ad4 Merge branch 'master' into datepicker 2015-07-15 09:40:38 -04:00