Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eb committed Jan 13, 2017
2 parents b8afb13 + ac91993 commit 21ff8a3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-datetime-inputs",
"version": "0.1.24",
"version": "0.1.25",
"description": "UI elements for datetime input, converted to angular directives for your convenience.",
"homepage": "https://github.com/g1eb/angular-datetime-inputs",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion dist/datetime-inputs.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-datetime-inputs",
"version": "0.1.24",
"version": "0.1.25",
"description": "UI elements for datetime input, converted to angular directives for your convenience.",
"homepage": "https://github.com/g1eb/angular-datetime-inputs#readme",
"author": "gleb",
Expand Down
1 change: 0 additions & 1 deletion src/date-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
'active': calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).startOf('day').isSame(selected.clone().startOf('day')),
'inactive': calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).month() !== calendar.month()
}"
ng-disabled="(!!minDate && calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).date().isBefore(minDate.date())) || (!!maxDate && calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).date().isAfter(maxDate.date()))"
ng-click="update(selected.clone().year(calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).year()).month(calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).month()).date(calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).date()), true)"
ng-bind="calendar.clone().startOf('month').add($parent.$index, 'weeks').weekday($index).date()"></span>
</div>
Expand Down

0 comments on commit 21ff8a3

Please sign in to comment.