Hi Tarcisio,
Not really an angular issue, just plain old JS.;) Angular is server agnostic, so it does not know anything about your backend, and how it want’s to receive its dates.new Date().toISOString() should do the trick.
Regards
Sander
--
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+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/BfTNwVHB7HI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
it remove the date previously defined
i think its because the angular date input cant read in the isoformat
so i end with one "big" question:
is there a way to make it automatically without treating the input(for displaying and sending) , it just receive from the json(in iso format), possible to edit the date, and then return to the server in the same format (iso input)?
sorry bad english, hope you all understand ;)