Nickolaos, did you ever find a solution?  I am having the same problem...

On Sunday, January 20, 2013 6:38:16 AM UTC-5, Nickolaos Platides wrote:
>
> I have managed to setup angular-ui on my project. I wanted to use ui-date 
> in a couple of forms. I provide the dates in string format, so I use the 
> ui-date-format attribute. The problem is that that when I type a new date 
> on the input, I get the following error, each time I time a new character: 
>
> TypeError: Object 2013-24-01 has no method 'getFullYear' at 
> Datepicker.$.extend.formatDate (
> http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js:5:143969 
> <http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js>) 
> at 
> https://raw.github.com/angular-ui/angular-ui/master/build/angular-ui.min.js:7:14003
>  
> <https://raw.github.com/angular-ui/angular-ui/master/build/angular-ui.min.js> 
> at 
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:136:186 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js> at 
> Array.forEach (native) at m (
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:6:193 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js>) at 
> $setViewValue (
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:136:156 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js>) at 
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:110:106 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js> at 
> Object.e.$eval (
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:86:310 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js>) at 
> Object.e.$apply (
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:86:417 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js>) at 
> HTMLInputElement.Qa.i (
> http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js:110:86 
> <http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular.min.js>)
>
> For some reason the data that is provided to the formatDate function is a 
> string and not a date object. Is there anyway to fix this?
> I created a jsfiddle to demonstrate this issue here: 
> http://jsfiddle.net/fincher64/9ZnTU/1/ 
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to