Michel Couillard

Results 101 comments of Michel Couillard

I've added a calendar icon for live edit input mode. https://github.com/beenote/angular-material-datetimepicker/releases/tag/v1.9.0

Time icon when in time only for edit-input : https://github.com/beenote/angular-material-datetimepicker/releases/tag/v1.9.1

Current implementation is for specific date object in an array: ``` $scope.dates = [new Date('2016-11-14T00:00:00'), new Date('2016-11-15T00:00:00'), new Date('2016-11-30T00:00:00'), new Date('2016-12-12T00:00:00'), new Date('2016-12-13T00:00:00'), new Date('2016-12-31T00:00:00')]; ```

Now you can with this release: https://github.com/beenote/angular-material-datetimepicker/releases/tag/v1.7.2

Yes, it's because the format is a moment format. When we set `moment.locale('fr')`, it will affect only the next time we use moment. Maybe we could do something with https://github.com/urish/angular-moment

@jekcom maybe this can be a workaround? ``` $scope.changeLanguage = function() { $translate.use($scope.selectedLang); moment.locale($scope.selectedLang); }; ``` From [demo.js](https://github.com/beenote/angular-material-datetimepicker/blob/gh-pages/js/demo.js)

https://stackoverflow.com/questions/31706054/angularjs-dynamic-locale

Probably an old version of one dependency.

I think it's now faster since this commit 0714a75ffd894b1f54f547b33e0da4e728092c24 or release v1.5.0

Browser support for parsing strings is inconsistent. Try with moment. ``` ``` `$scope.minDate = moment("2016-08-10");` https://momentjs.com/docs/