I have been utilizing the angular.ui DatePicker feature.
http://angular-ui.github.io/bootstrap/#/datepicker
According to the documentation:
"Everything is formatted using the date filter and thus is also localized."
I am struggling to understand how to apply the date filter to control the date format set in the model.
When using the DatePicker, the date format set in the model appears as follows:
"2013-09-07T03:18:43.000Z"
However, for serialization with Grails, I need my date format to be like this:
"2013-09-07T03:18:43Z"
Is there a way to configure the DatePicker to generate this specific date format? Or do I need to handle this on the server side since it is a JavaScript date? Ultimately, my goal is to send:
"2013-09-07T03:18:43Z"
within a JSON put request to the server.
Any help would be greatly appreciated!