Closed
Description
1.7.0 changelog
Features
- Adding dateCells option (Adding dateCells option #1723)
- Added keepEmptyValues option (added keepEmptyValues option #1558 + keepEmptyValues followup #1901)
- added "changeViewMode" event; also adds the current
viewMode
to events (added "changeViewMode" event; also adds the currentviewMode
to events #1953) - adds
updateViewDate
option (addsupdateViewDate
option #1982) - Added hiding week day names functionality (Added hiding week day names functionality #2087)
- Allow customizing day cell value (Allow customizing day cell value #2043)
Bugfixes
- originalEvent object needs preventDefault fn (originalEvent object needs preventDefault fn #1824)
- Fix jQuery selector from premature selection of span element in inline/embedded calendar's month selection (Fix jQuery selector from premature selection of span element in inline/embedded calendar's month selection #1859 + Add tests for PR 1859 #1886)
- Use date arithmetic to allow dates with times other than 00:00:00 (Use date arithmetic to allow dates with times other than 00:00:00 #1483)
- Multiple general fixes (Add files option for npm, fix indents on tests #1883 + Refactoring js #1893)
- Visibility fix for nav arrows (Visibility fix for nav arrows #1916)
- Do not trigger change or changeDate on initialization (Do not trigger change or changeDate on initialization #1912)
- Fix: Close datepicker on touchstart (Fix: Close datepicker on touchstart #1924)
- Fix data-date-dates-disabled attribute to accept a comma-separated list (Fix data-date-dates-disabled attribute to accept a comma-separated list #1946)
- Fix maxViewMode and navigation switch click (Fix maxViewMode and navigation switch click #1951)
- Add support jQuery 3. Bootstrap 2 still available (composer.json) (Add support jQuery 3. Bootstrap 2 still available (composer.json) #1958)
- fix(parseDate) use insensitive regex to support +15d with capslock (fix(parseDate) use insensitive regex to support +15d with capslock #1910)
- Refactoring timedelta aliases (dateAliases) (Refactoring timedelta aliases (dateAliases) #1965)
- Fix RTL layout (Fix RTL layout #1973)
- Remove listen
changeDate
after destroy DateRangePicker (Remove listenchangeDate
after destroy DateRangePicker #1968) - add tests for setDatesDisabled function (add tests for setDatesDisabled function #1983)
- resolves bug on days when DST is added. (resolves bug on days when DST is added. #2009)
- XHTML fixes (Make XHTML happy #1998)
- update grunt and other dev-dependencies (update grunt and other dev-dependencies #2111)
- Use display:table-cell instead of display:block for today, clear and title (Use display:table-cell instead of display:block for today, clear and title #2121)
- moved assumeNearbyYear to correct location (moved assumeNearbyYear to correct location #2140)
- move
jquery
topeerDependencies
fromdependencies
(movejquery
topeerDependencies
fromdependencies
#2163) - Use default arrow values (Use default arrow values #2176)
Locales
New
- en-ZA (Create bootstrap-datepicker.en-ZA.js #1798)
- en-ZNZ (Create bootstrap-datepicker.en-NZ.js #1799)
- en-IE (Create bootstrap-datepicker.en-IE.js #1800)
- ar-tn (Create bootstrap-datepicker.ar-tn.js #1863)
- Added Sinhala (si) locale (Added Sinhala (si) locale #2025)
- Occitan locale (Occitan locale #2024 + Occitan version update #2026)
- [l10n]Add breton translation ([l10n]Add breton translation #2028)
- Added Tajik language (Added Tajik language #2117)
- Add Uzbek latin and cyrill locales (Add Uzbek latin and cyrill locales #2152)
- add Bengali (Bangla) language (add Bengali (Bangla) language #2171)
- Added Hindi locale (hindi translation for bootstrap-datepicker #2199)
Bugfix
- km/kh (Remove duplidated day in bootstrap-datepicker.kh.js #1812)
- Capital letters in Polish translation (Capital letters in Polish translation #1890)
- Add missing monthsTitle in cs (Add missing monthsTitle #1900)
- Update bootstrap-datepicker.da.js (Update bootstrap-datepicker.da.js #1936)
- Fix typo in month name (Fix typo in month name #2040)
- Added missing basque language properties (Added missing basque language properties #2066)
- Added weekStart to slovenian translation (Added weekStart to slovenian translation #2067)
- add monthsTitle for ru (add monthsTitle #2092)
- Change danish (da) date format to match the rest of the locales (Change danish (da) date format to match the rest of the locales #2048)
- Fix Tamil Language file with proper locale code (Fix Tamil Language file with proper locale code, see #2119 #2141)
- Revert strange changes, +monthsTitle (Revert strange changes, +monthsTitle #2153)
- updated Tajik (cyrillic) translation file (updated Tajik (cyrillic) translation file #2167)
- Romanian uses dd/mm/yyyy format for dates (Romanian uses dd/mm/yyyy format for dates #2173)
- Missing latvian translation (Create bootstrap-datepicker.lv.js #2204)
Docs
- Fix typo in index.rst (Fix typo in index.rst #1882)
- Update CDNjs info in README.md (Update README.md #1933)
- [Doc] Keyboard navigation is not supported for embedded / inline type ([Doc] Keyboard navigation is not supported for embedded / inline type #2002)
- Removed reference to stefan petre (Removed reference to stefan petre's #2031)
- Improve defaultViewDate documentation (Improve defaultViewDate documentation #2052)
- Add notes about multiple dates and examples for update method (Add notes about multiple dates and examples for update method #2060)
- Add Code Of Conduct (Add Code Of Conduct #2095)
- Update install instructions on README.md (Add npm on README.md #2160)