From c589af80abb2ac4f5329e57fde65e82b818e373e Mon Sep 17 00:00:00 2001 From: mguessan Date: Mon, 12 Jul 2010 12:40:48 +0000 Subject: [PATCH] EWS: format datereceived date git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1172 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/ews/EwsExchangeSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/exchange/ews/EwsExchangeSession.java b/src/java/davmail/exchange/ews/EwsExchangeSession.java index f7e1ed92..283179ab 100644 --- a/src/java/davmail/exchange/ews/EwsExchangeSession.java +++ b/src/java/davmail/exchange/ews/EwsExchangeSession.java @@ -675,7 +675,7 @@ public class EwsExchangeSession extends ExchangeSession { for (String attributeName : CONTACT_ATTRIBUTES) { String value = response.get(Field.get(attributeName).getResponseName()); if (value != null) { - if ("bday".equals(attributeName) || "lastmodified".equals(attributeName)) { + if ("bday".equals(attributeName) || "lastmodified".equals(attributeName) || "datereceived".equals(attributeName)) { value = convertDate(value); } put(attributeName, value);