From 17374a57e067caabfe79333e3a35a7fb29763fa9 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Thu, 6 Dec 2012 16:15:14 -0500 Subject: [PATCH] added ISO date format to generic entity view, addresses #232 --- .../java/org/mitre/openid/connect/view/JsonEntityView.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openid-connect-server/src/main/java/org/mitre/openid/connect/view/JsonEntityView.java b/openid-connect-server/src/main/java/org/mitre/openid/connect/view/JsonEntityView.java index 3261540dc..4dd534a49 100644 --- a/openid-connect-server/src/main/java/org/mitre/openid/connect/view/JsonEntityView.java +++ b/openid-connect-server/src/main/java/org/mitre/openid/connect/view/JsonEntityView.java @@ -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");