17 Commits

Author SHA1 Message Date
jelhan
15b9d1765b add tests for setDatesDisabled function
related to #1980
2016-08-18 18:48:38 +02:00
vsn4ik
48c47305a9 Add files option for npm, fix docs, fix indents on tests 2016-05-14 17:45:50 +03:00
Jeroen Thora
480905b6db Merge pull request #1483 from colavitam/master
Use date arithmetic to allow dates with times other than 00:00:00
2016-05-09 19:19:53 +02:00
Bill Barry
af69691c1e dates read out are 12am UTC
fixes #1822
2016-05-04 08:58:57 +02:00
Jeroen Thora
352c19fd4d Merge pull request #1627 from laltin/patch-getter-limits
add getter methods for date limits
2015-11-24 11:05:20 +01:00
laltin
34af220584 added docs & tests. bugfix 2015-11-24 11:59:07 +02:00
hyderali
39601da9cc Changes nonpunctuation to accept unicode characters
Rejecting Unicode characters in `nonpunctuation` is added in !294 to support yyyy年mm月dd format. However rejecting all Unicode in the range \u3400 to \u9fff rejects names of Chinese months too. And calling parseDate with Chinese date having the month format as  MM results in today's date always irrespective of the date passed. Hence don't reject all the Unicode and reject only the three Unicode in Japanese date format.
And adds tests for parseDate method.
2015-11-16 17:29:09 +05:30
Chris van Leeuwen
1b92955f0b Fixed test to assert intended outcome 2015-08-31 11:35:25 +02:00
Chris van Leeuwen
57dee53c72 Fix date-reset issue when navigating to next with invalid date 2015-08-31 11:10:59 +02:00
Michael Colavita
055f561f63 Updated tests for dates with times.
Added a test to ensure that dates with times other than 00:00:00 are
selected and stored properly.
2015-07-13 12:20:21 -04:00
Tomek Wytrebowicz
4324ab8c93 Tests for chainable methods 2014-12-22 18:11:41 +01:00
Andrew Rowls
52782349ba What is a single-date picker but a multidate picker with a limit of 1? 2013-11-17 22:31:14 -05:00
Andrew Rowls
5cce696259 Handle cases where this.date is undefined / falsey 2013-10-25 22:26:10 -04:00
Andrew Rowls
95f06bc553 Fix bug with update() receiving a Date object
Fixes #497
2013-08-01 23:13:13 -04:00
Andrew Rowls
1aac3e98e4 Derp -- wrong date in setDate test 2013-08-01 21:43:16 -04:00
Andrew Rowls
ea54d9d5cf Clean up setDate and setUTCDate tests 2013-08-01 21:21:00 -04:00
Dudemullet
c176133ec3 Added test cases for the exposed API. 2013-06-13 01:34:11 -05:00