angular-datepicker
angular-datepicker copied to clipboard
format issue
Hi, I use a format of dd/MM/yyyy. But when the user types the date directly into the input field it uses MM/dd/yyyy. I suppose the input validator is not taking the format into account when parsing...
Also having this problem.
m2
+1
+1
Same issue and it's very problematic :/ If anyone have a solution to skirt this issue ? I tried to re-format the input value when a user change the input by adding a ng-blur fonction :
$scope.date = moment($scope.date, 'DD/MM/YYYY').format('MM/DD/YYYY');
This work fine, but when a user just leave without change the input, the date is invalid...
Yeah, its very problematic for my app too
+1
@qmorel I do a similar thing and do the same when the controller loads.
+1
Having the same issue. I will try to submit a PR.
This issue was fixed by #251. It should be closed.
This is not working. I tried using version 2.0.1 and 2.0.3.
There are newer versions, but they were not released on bower or npm. You should install them from a git commit hash.