68 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
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
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
767b1da3c1 Merge pull request #1982 from jelhan/updateViewDate
adds `updateViewDate` option
2016-10-05 20:25:28 +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
Timo Peter
2707ad284a Extend beforeShowMonth documentation
Extend beforeShowMonth documentation
2016-01-28 13:55:23 +01:00
vsn4ik
6daad03126 Fix default arrows for BS2 and screenshots (for docs) 2015-12-27 16:39:26 +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
eddd51d252 Added timedelta aliases. Fixes #785 2015-11-15 16:15:59 +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
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
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
Abi Bellamkonda
e90adc731c Merge remote-tracking branch 'eternicode/master' 2015-09-21 09:53:29 +10:00
Abi Bellamkonda
14e2870016 Renamed custom format method names
Renamed
- option.format.parse() to option.format.toValue()
- option.format.format() to option.format.toDisplay()
2015-09-21 09:39:42 +10:00
vsn4ik
db2f12210e Some fixes in docs 2015-09-20 16:42:21 +03:00
Abi Bellamkonda
01e56c3448 Added documentation for custom format options
Provided sample custom format options in documentation
2015-09-18 20:59:41 +10:00
Junya Ishihara
b9b1e609a9 Correct default month value of defaultViewDate in Doc. 2015-09-18 18:58:48 +09:00
Steve Richert
db279aecee Add documentation for the zIndexOffset option 2015-07-16 14:12:56 +00:00
Steve Richert
ee9f794e6e Alphabetize options in documentation and standardize formatting
No content was changed in this commit, only rearranged and reformatted
for whitespace and style consistency.
2015-07-16 14:06:43 +00:00
Sten Muchow
92a3ef5826 added example to end-date
To avoid future confusion of forgetting to place a 'd' after the 0.
2015-06-24 11:46:55 +01:00
Grégoire D
1c5bb7bf44 Merge branch 'master' into dev-beforeShowYear-1226 2015-06-19 20:19:56 +02:00
Grégoire Daussin
dd4572bfa8 Add the posibility to have a title on the picker #1410 2015-06-18 16:15:02 +02:00
Grégoire Daussin
35336f4be3 Docs included 2015-06-18 12:56:59 +02:00
Jakob Damgaard Møller
5772d011a1 Minor info about TODAY
today date = "0" and not 0.
2015-06-04 11:10:24 +02:00
Bob Olde Hampsink
affed43e46 Added maxViewMode to options
Fixed bower version mismatch

Applied maxViewMode to view states

Revert "Fixed bower version mismatch"

This reverts commit 069390014acd9688bd9b099969fa218c28898569.

Added docs
2015-03-31 21:25:16 +02:00
Jeroen Thora
bf11f8b38b Merge pull request #1315 from Silhm/daysOfWeekHighlighted
Feature : Days of week highlighted
2015-03-31 20:44:43 +02:00
Nicolas McCurdy
126fe050b0 Add documentation for the immediateUpdates option 2015-03-20 15:40:26 -04:00
Simon FLORENTIN
b88f43c073 added doc for daysOfWeekHighlighted 2015-03-18 09:38:14 +01:00
vsn4ik
0cb91f3cc7 Use $.on() instead $.bind(). 2015-03-11 23:20:29 +03:00
Jeroen Thora
f70fc92738 Added option to not show datepicker on readonly field. Fixes #1231 2015-03-02 08:58:35 +01:00
Jeroen Thora
c2a03d9060 Added some missing docs 2015-03-01 16:37:52 +01:00
Samuel Denis-D'Ortun
99c74af23b add example for inputs option 2015-01-12 21:53:01 -05:00
Jeroen Thora
23d5638d1d Fixed some issues from the PR, changed default value and updated docs 2015-01-10 17:53:10 +01:00