AngularJS und Eingabe Typ = Datum, wie format-Modell-Daten?

habe ich folgende Eingabe in ein Formular, welches ich versuche zu füllen, indem scope Daten:

<input type="date" name="editCallForm.date"  ng-model="editCallForm.date">

Ich habe versucht ein paar Kombination von Daten-Formatierung, zum Beispiel:

moment($rootScope.formData.date).format('DD/mm/YYYY');

Aber ohne Glück (für Uhrzeit-Eingabe funktioniert es ohne Probleme).

Was ist das richtige format für diese Art der Eingabe?

Vielen Dank für jede Hilfe.

InformationsquelleAutor redrom | 2014-12-07
Schreibe einen Kommentar