-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 3.0.0 ## **Breaking changes in this update! Pay attention!!** * Fix for #170, #179, #183: Changed event to `dp.-` options load as `data-date-OPTION` instead of `data-OPTION`. This should fix the double change event firing. * Fix for #192: `setDate` now fires `dp.change` * Fix for #182: Picker will **not** set the default date if the input field has a value * Fix for #169: Seconds doesn't get reset when changing the date (Thanks to PR #174) * Fix for #168 z-index fix for BS modal * Fix for #155 Picker properly displays the active year and month * Fix for #154 CSS update to fix the collapse jump * Fix for #150 and #75 `minViewMode` and `viewMode` work properly * Fix for #44 Finally! It's here!! Thanks to @ruiwei and his code on #210 picker will adjust the positioning of the widget. #### **Manually merged PR** * #178 When using `minuteStepping` the minute select grid will only show available steppings * #195, #197 Using the `data-OPTION` has been changed to `data-date-OPTION`. These options are expected to be on the `input-group` if you're using the `form-group` **or** the input field * #184 The option `sideBySide` change be used to display both the d and the timepicker side by side #### **Other Changes** * Changed picker width to 300px if using seconds and am/pm * Added option `useCurrent`, thanks to @ruiwei. When true, picker will set the value to the current date/time (respects picker's format) * Added option `showToday`, thanks to @ruiwei. When true, picker will display a small arrow to indicate today's date. * Changed `startDate` to `minDate` and `endDate` to `maxDate` to make it more clear what these options do.
- Loading branch information
Showing
10 changed files
with
481 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
Contributions guidelines: | ||
|
||
- Use 2 spaces indentation | ||
- If it is a bug, try to add an automated test that reproduces it in the | ||
test/issues.coffee, following the conventions already adopted. | ||
- If it is a new feature, try to add automated tests for it. | ||
- Never submit patches that break existing tests(make test should take care of | ||
downloading dependencies and running the tests) | ||
- Do not commit the files in the 'build' dir, 'git update-index --assume-unchanged build/{js,css}/*' will help | ||
|
||
Before starting to develop, enter 'make deps' to download all dependencies | ||
needed for developing/testing. 'make test' will run all tests. | ||
- If it is a bug, please read open issues to avoid duplicates | ||
- If it is a new feature, please provide a use case. E.g. Why this feature should be added and what you are using it for | ||
- If possible, please provide example code and/or a jdfiddle and a DETAILED example of what is not working |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.