26 Commits

Author SHA1 Message Date
Vasilii Artemchuk
fefb59cd1d Fix navigation disabled states (#2277) 2017-10-09 17:56:29 +03:00
Clemens Kofler
afbf10dcdd
Add regression test 2016-06-21 18:00:18 +02:00
vsn4ik
204c6f4f38 Fix jQuery chain breaks 2015-09-19 18:58:47 +03:00
Chris Hemp
67a2482691 Problem: Our translation team prefers the usage of [month number]月 for month selection as this is more commonly seen (one big example is the Windows date-time picker). This also allows better spacing for November and December which are 3 characters long in zh-cn and they run together. Also the title text was built with string concatenation for month + year and does not leverage a localization format.
Solution: Switch monthsShort for zh-cn/zh-tw to use monthsShort from moment.js. Add Korean language support by porting from moment as well. In addition a titleFormat key has been added for the .datepicker-switch header of the date picker. This text used to be created with string concatenation and did not work well for Chinese and Korean. Chinese and Korean provide a titleFormat key override and this key defaults to "MM yyyy" for English and other languages.
2015-06-30 09:22:34 -05:00
Jeroen Thora
511360fb54 Defult disabled qunit logging 2014-12-21 19:47:51 +01:00
Andrew Rowls
537d25460d Add basic npm support and Gruntfile, move tests to grunt 2014-01-15 01:38:52 -05:00
Andrew Rowls
9960f08a84 Merge pull request #505 from Dudemullet/add_API_Method_Tests
Added test cases for the exposed API.
2013-08-01 21:23:39 -04:00
Dudemullet
c176133ec3 Added test cases for the exposed API. 2013-06-13 01:34:11 -05:00
Frederick John Milens III
1e2a2fcbf3 Added test case to show issue with noConflict(). 2013-06-10 21:17:05 -05:00
Andrew Rowls
f3bd620cc7 Extend data-api to all picker types, enact on click event, add tests 2013-04-04 15:23:03 -04:00
Christoph
0bb04761fd implement calendarWeeks option
it prepends a .cw cell to each row and displays the current calendar week before the first day of the week
defaults weekStart to monday
specs and basic styling included
2013-01-07 11:54:41 +01:00
Vit
5291d4bd1f merge with upstream 2012-09-16 16:31:32 +04:00
Vit
9f412bf4ea inline use setvalue & tests 2012-08-22 09:03:46 +04:00
Terry Rosen
b0d3bb20b0 changed to unit LF 2012-08-13 11:11:53 -04:00
Terry Rosen
15e09ab696 Fixed inconsistent blur() behavior
- Removed blur() event due to inconsistencies between browsers
- Added TAB navigation and global click handler to replace blur
functionality, similar to jQuery UI datepicker
2012-08-08 11:25:53 -04:00
Andrew Rowls
7af808c90c Add tests for pick events, remove unnecessary date manip 2012-07-08 22:38:58 -04:00
Andrew Rowls
2c0faf021e Add tests for options 2012-05-06 01:58:02 -04:00
Andrew Rowls
beec96ca10 Add timedelta format tests (90% coverage, boo-yah) 2012-05-06 01:32:31 -04:00
Andrew Rowls
565edec7ad Add navigation tests 2012-05-05 23:18:00 -04:00
Andrew Rowls
e866d4f365 Add coverage stats for unit tests 2012-05-05 18:50:36 -04:00
Andrew Rowls
e4128ee978 Add phantomjs support to unit tests (CLI-capable!) 2012-05-05 15:33:06 -04:00
Andrew Rowls
619a0c2eeb Add tests for component picker 2012-05-05 14:32:12 -04:00
Andrew Rowls
b280debf81 Add datesEqual test assertion and better date format util 2012-04-29 13:36:49 -04:00
Andrew Rowls
79fe51ceee Move mouse navigation tests to similar dir structure to keyboard navigation tests
--HG--
rename : tests/suites/navigation.js => tests/suites/mouse_navigation/2012.js
2012-04-29 13:21:35 -04:00
Andrew Rowls
3eb1039a88 Add keyboard navigation tests, leap day format test 2012-04-29 13:17:56 -04:00
Andrew Rowls
f150a13081 Add initial unit tests: basic formats, basic navigation 2012-04-29 04:22:53 -04:00