added ISO date format to generic entity view, addresses #232

pull/263/head
Justin Richer 2012-12-06 16:15:14 -05:00
parent 3378cd5c4c
commit 17374a57e0
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ public class JsonEntityView extends AbstractView {
return false;
}
}).create();
})
.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")
.create();
response.setContentType("application/json");