123 Commits

Author SHA1 Message Date
Nils-Berghs
ac14422481 moved assumeNearbyYear to correct location
The assumeNearbyYear option was between options starting with an 'f'. Moved it to the correct alphabetical order.
2017-03-09 10:55:04 +01: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
Jeroen Thora
90d4aa3289 Merge branch 'master' into master 2017-01-23 20:52:24 +01:00
Jeroen Thora
94dd5b5333 Generate screenshots 2017-01-22 16:30:42 +01:00
Cenk Ebret
bf8cf77f58 Merge branch 'master' of https://github.com/uxsolutions/bootstrap-datepicker 2017-01-09 20:52:09 +01:00
Vasily Artemchuk
bbddb27b0d Update Bootstrap version on screenshots. Update phantomjs package (#2104) 2017-01-07 03:49:37 +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
Grégoire D
1bca0449d3 they 2016-11-11 10:04:11 +01:00
Grégoire D
572f380d4e Add notes about multiple dates and examples for update method 2016-11-10 23:30:20 +01:00
Grégoire D
254e596dbf Fix documentation to be more clear about month parameter being zero based on the defaultViewDate option 2016-11-05 17:18:25 +01:00
Chris Hynes
c5cafb5e2a Change beforeShowDay option name to content
Add test for content
2016-10-27 17:03:20 -07:00
Chris Hynes
e1dfbbd32d Allow customizing day cell value 2016-10-23 19:03:58 -07:00
Jeroen Thora
b65fe6a2db Merge pull request #2031 from acrobat/reference-cleanup
Removed reference to stefan petre's
2016-10-07 19:04:55 +02:00
Jeroen Thora
767b1da3c1 Merge pull request #1982 from jelhan/updateViewDate
adds `updateViewDate` option
2016-10-05 20:25:28 +02:00
Jeroen Thora
e04d1c3b09 Removed reference to stefan petre's 2016-10-02 19:06:30 +02:00
jelhan
2c0d0d5c86 [Doc] Keyboard navigation is not supported for embedded / inline type at all.
Fixes #1263
2016-09-04 22:35:41 +02:00
Jeroen Thora
1cd54fdce7 Merge branch '1.6' 2016-08-19 17:45:17 +02:00
jelhan
3a771a5190 Doc: format for endDate and startDate
Fixes #1977
2016-08-19 17:41:29 +02:00
jelhan
f64fc12441 adds updateViewDate option 2016-08-18 14:16:32 +02: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
Jeroen Thora
6f3a46f95f Added quick reference for the options. Closes #1766 2016-05-06 23:07:16 +02:00
cdchild
138a85aaca Fix typo in index.rst
See the Stylesheets section
2016-05-04 08:43:29 -06:00
Timo Peter
2707ad284a Extend beforeShowMonth documentation
Extend beforeShowMonth documentation
2016-01-28 13:55:23 +01: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
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
camo
24c93e9270 Update options.rst 2015-12-09 01:09:26 +01:00
unknown
2d621d12f2 rebase 2015-12-03 14:23:52 +00: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
Jeroen Thora
7f9970735e Merge branch '1.5' 2015-11-19 19:57:55 +01:00
Simon
462a1a9814 Update markup.rst 2015-11-19 19:55:34 +01:00
Jeroen Thora
eddd51d252 Added timedelta aliases. Fixes #785 2015-11-15 16:15:59 +01:00
Jeroen Thora
5d6e7c22f5 Merge branch '1.5' 2015-11-15 15:33:19 +01:00
Jeroen Thora
4a954cafdf Added docs for the different stylesheet files. Fixes #1459 2015-11-15 15:32:18 +01:00
Jeroen Thora
4c5a342044 Merge branch '1.5' 2015-11-15 15:13:58 +01:00
Fabrice Daugan
bb6d2569b0 Document data-api on container
Document data-api on container : input-group/input-append/input-prepend
2015-11-15 15:12:39 +01:00
Jeroen Thora
21d56e9969 Merge pull request #1623 from Azaret/dev-decade-century-pickers-753
PIcking a decade and a century - Rebase of #1437
2015-11-07 21:26:30 +01:00
Jeroen Thora
c28bef9c00 Merge pull request #1631 from ajb/better-year-detection
Add "assumeNearbyYear" option
2015-11-05 22:07:34 +01:00
Sandip Bhagat
efe2147765 Fixed typo 2015-11-05 12:42:20 +01:00
Sandip Bhagat
6a4e332758 Fixed typo 2015-10-23 19:37:58 +05:45
Adam Becker
309afd2a50 Add "assumeNearbyYear" option
Rebase / modification of #1556

If the user opts-in by setting options.assumeNearbyYear = true:

- When a user enters a 2 digit year, the code now does a better job of
guessing intent. If the 2 digit year is more than 10 years in the future,
it'll use the past century instead. So in the 2015, a value between 00-25
would assume the century is 2000. For 26-99, it'll assume the user meant
1900 (e.g. 1/31/10 = Jan 31, 2010, 1/31/26 = Jan 31, 1926). People don't
generally enter future dates too far in advance, but it's very common
to enter dates from 50+ years ago.
2015-10-22 13:53:11 -04:00
Gregoire Daussin
4f46a1a45e Pushing back changes 2015-10-17 15:49:36 +02:00
Jeroen Thora
71308d42cc Updated html of calendarweeks screenshot + regenerated all screenshots 2015-09-22 22:44:08 +02:00
Abi Bellamkonda
ec07b99410 Addressed code review feedback
Added a empty line to make the bullet formatting better as per @acrobat
2015-09-21 23:16:44 +10:00