PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
If get a timestamp from the server and then want to display the date for the user in "yy-mm-dd" format also when he changes the date. However, when he sends the form the date should ge send as timestamp again.
I tried to accomplish this with $parsers and my code looks something like this.
`var parseDate = function(value) {
If get a timestamp from the server and then want to display the date for the user in "yy-mm-dd" format also when he changes the date. However, when he sends the form the date should ge send as timestamp again.
I tried to accomplish this with $parsers and my code looks something like this. `var parseDate = function(value) {
}; ngModel.$parsers.push(parseDate);`
But the date gets send as something like
2017-02-19T23:00:00.000Z
in the network tab.Is there anything wrong with the plugin and handling timestamps?