217 Commits

Author SHA1 Message Date
Vasilii Artemchuk
fefb59cd1d Fix navigation disabled states (#2277) 2017-10-09 17:56:29 +03:00
Vasily Artemchuk
e98705afca Fix beforeShowDay with content not equal number (#2122) 2017-02-14 03:18:26 +03:00
Gregoire D
a5db368704 Merge branch 'master' into custom-day-display 2017-02-12 11:07:16 +01:00
Vasily Artemchuk
3e56fdb358 Correct prev click on leftArrow template (#2116) 2017-02-06 02:04:36 +03:00
Chris Hynes
601c6a6d72 Merge branch 'master' of https://github.com/uxsolutions/bootstrap-datepicker into custom-day-display
# Conflicts:
#	js/bootstrap-datepicker.js
2017-02-03 11:25:42 -07:00
Cenk Ebret
bf8cf77f58 Merge branch 'master' of https://github.com/uxsolutions/bootstrap-datepicker 2017-01-09 20:52:09 +01:00
Vasily Artemchuk
f7df3d8285 Fix focused cell for decade/century/millenium views (#2103) 2017-01-07 00:03:10 +03:00
Vasily Artemchuk
9cb739f927 Add test for PR 2065 (#2101) 2017-01-06 04:13:18 +03:00
CherryDT
4b7e52725d Allow Date/String for defaultViewDate option (#2070) 2017-01-05 16:35:10 +03:00
Cenk Ebret
8af8e2162e Added hiding week day names functionality 2016-12-11 22:32:31 +01:00
Chris Hynes
c544da6bae Handle deeper nested content in day
Add test to check click on custom content
2016-10-27 17:16:01 -07:00
Chris Hynes
c5cafb5e2a Change beforeShowDay option name to content
Add test for content
2016-10-27 17:03:20 -07:00
Jeroen Thora
767b1da3c1 Merge pull request #1982 from jelhan/updateViewDate
adds `updateViewDate` option
2016-10-05 20:25:28 +02:00
jelhan
15b9d1765b add tests for setDatesDisabled function
related to #1980
2016-08-18 18:48:38 +02:00
jelhan
f64fc12441 adds updateViewDate option 2016-08-18 14:16:32 +02:00
vsn4ik
0c595af5ac Refactoring dateAliases 2016-08-04 22:23:29 +03:00
Jeroen Thora
a1ac39a9af Merge pull request #1953 from AubreyHewes/add-changeViewMode-event
added "changeViewMode" event; also adds the current `viewMode` to events
2016-07-27 23:20:27 +02:00
Aubrey Hewes
08258e349a added "changeViewMode" event; also adds the current viewMode to any triggered events 2016-07-22 23:10:12 +02:00
vsn4ik
b4c34d2d6d Fix maxViewMode and navigation switch click 2016-07-22 10:28:03 +03:00
Max Furman
1c5474ebd4 Add test 2016-07-14 17:25:50 -04:00
Clemens Kofler
afbf10dcdd
Add regression test 2016-06-21 18:00:18 +02:00
Theodoros Orfanidis
110b12072c Do not trigger change or changeDate on initialization 2016-06-13 12:46:05 +03:00
Jeroen Thora
8071673022 Merge pull request #1893 from vsn4ik/refactoring_js
Refactoring js
2016-06-12 19:02:40 +02:00
vsn4ik
4c70acaad6 Refactoring js 2016-05-24 21:29:01 +03:00
Steffen Dietz
23bfd6cabe Moved keepEmptyValues documentation to correct alphabetical position
added keepEmptyValues to quick reference table
added keepEmptyValues to defaults array
fixed tests
2016-05-24 17:57:00 +02:00
Steffen Dietz
4b5b4dd5e2 added keepEmptyValues option
If this option is set to true, it will stop propagation of a selected
date to other, currently empty, pickers in a date range setup.

Default for this option is false, to keep the current behavior.
2016-05-23 12:33:21 +02:00
vsn4ik
48c47305a9 Add files option for npm, fix docs, fix indents on tests 2016-05-14 17:45:50 +03:00
vsn4ik
10f85121a3 Add tests for PR 1859 2016-05-10 02:52:26 +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
Jeroen Thora
3e37fee956 Added the latest jquery 2 code 2016-05-06 23:09:03 +02:00
Jeroen Thora
0309d22e6e Merge pull request #1723 from jpdevries/date-cells
Adding dateCells option
2016-05-06 22:54:20 +02:00
Jeroen Thora
9341da05c9 Added extra check in prevent default event test. See #1824 2016-05-06 22:48:58 +02:00
Jeroen Thora
939993b9e0 Merge pull request #1824 from bbarry/patch-1
originalEvent object needs preventDefault fn
2016-05-06 22:30:23 +02:00
vsn4ik
10b3e24574 Fix show by component (with disabled attribute) 2016-05-06 21:07:46 +02:00
Bill Barry
af69691c1e dates read out are 12am UTC
fixes #1822
2016-05-04 08:58:57 +02:00
Tim Wood
59d1cac27a Fix bug when clicking on a day that is highlighted today in the next month. 2016-05-04 08:56:05 +02:00
Bill Barry
aa778090b3 originalEvent object needs preventDefault fn
preventDefault function expected by jQuery 2.2.1
2016-03-10 09:50:57 -05:00
Maik Vlcek
a2c7465d93 fix #1785 add specific class for disabled dates back (regression from 4375a0d346449f57fff029fbd36c1d2c54135207) 2016-02-15 08:20:04 +01:00
Timo Peter
6511ffb806 bugfixing test beforeShowMonth 2016-01-28 21:07:55 +01:00
Timo Peter
4503605f8b Add Tests for beforeShowMonth
Add Tests for beforeShowMonth
2016-01-28 13:52:04 +01:00
JP DeVries
27105c0510 Adding dateCells option
Adds an option to add a data-date attribute with a timestamp
representative of THAT CELL’s date. This makes bootstrap-datepicker
more extensible when using callbacks.

Have not run
grunt dist

removing console log
2016-01-27 11:51:14 -08:00
Jeroen Thora
b18c3a2837 Merge pull request #1732 from tgirardi/destroy
Rename "remove" to "destroy" and create alias
2016-01-09 20:41:07 +01:00
Tomás Girardi
9e60d0e290 Remove Sinon
Remove Sinon from dependencies and it's use in tests.
2016-01-04 11:17:10 -03:00
Tomás Girardi
3158e097d0 Fix typo "detroy" -> "destroy" 2016-01-04 11:15:32 -03:00
vsn4ik
6daad03126 Fix default arrows for BS2 and screenshots (for docs) 2015-12-27 16:39:26 +03:00
Tomás Girardi
c31ea8b47a Rename "remove" to "destroy" and create alias
Rename the "remove" method to "destroy". For backward compaitbility,
create a property named "remove" that acts as an alias of "destroy".

Include unit test for the "alias behavior" (test uses sinon, so add it
to bower.json)

Issue: #1721
2015-12-23 12:49:04 -03:00
Jeroen Thora
43cee9c8b4 Merge pull request #1428 from r0ro/master
fix changeMonth, changeYear not triggered when selecting day from prev/next month
2015-12-22 15:02:35 +01:00
Tommy Santerre
1e89326c87 Month/year view keyboard navigation 2015-12-22 07:21:07 -05:00
Romain Fliedel
9fd8416bcb add new test to ensure changeMonth/changeYear is triggered when selecting prev/next month day. 2015-12-10 11:54:21 +01:00
unknown
2d621d12f2 rebase 2015-12-03 14:23:52 +00:00