103 Commits

Author SHA1 Message Date
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
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
Jeroen Thora
cda46f3c93 Merge pull request #1581 from champierre/correct_default_month_of_default_view_date_in_doc
Correct default month value of defaultViewDate in Doc.
2015-09-19 22:40:30 +02:00
Jeroen Thora
1e8f27ecc9 Fixed screenshot row class 2015-09-19 22:01:07 +02: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
Jeroen Thora
d014a14f07 Adds docs for setDaysOfWeekHighlighted. Closes #1513 2015-09-17 20:50:10 +02:00
Jeroen Thora
589bb2e31f Regenerated doc images 2015-09-14 18:51:17 +02:00
Pascal Herbert
d5457e68bd run grunt 2015-09-13 20:20:33 +02:00
hebbet
5d01c45a47 Merge pull request #1493 from laserlemon/configurable-z-index-offset
Add the zIndexOffset option to configure the dialog "height"
2015-08-03 08:11:10 +01:00
Laurent Léonard
0af0ff64c3 Update component documentation to be compliant with Bootstrap 3 2015-07-24 17:31:11 +02: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
hebbet
ff7414210f Merge pull request #1367 from hemp/zh-update-months-short
Updates for zh-cn/zh-tw.  Korean language support.
2015-07-08 19:44:41 +01:00
Mike de Bock
4f207f8b66 added setDatesDisabled method to documentation 2015-07-02 10:22:21 +02: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
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
Jeroen Thora
2b52aa419d Merge pull request #1438 from Azaret/dev-title-1410
Add the posibility to have a title on the picker #1410
2015-06-19 08:34:06 +02:00