mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-07 11:48:02 -05:00
EWS: format datereceived date
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1172 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
6a6bb21450
commit
c589af80ab
@ -675,7 +675,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
|||||||
for (String attributeName : CONTACT_ATTRIBUTES) {
|
for (String attributeName : CONTACT_ATTRIBUTES) {
|
||||||
String value = response.get(Field.get(attributeName).getResponseName());
|
String value = response.get(Field.get(attributeName).getResponseName());
|
||||||
if (value != null) {
|
if (value != null) {
|
||||||
if ("bday".equals(attributeName) || "lastmodified".equals(attributeName)) {
|
if ("bday".equals(attributeName) || "lastmodified".equals(attributeName) || "datereceived".equals(attributeName)) {
|
||||||
value = convertDate(value);
|
value = convertDate(value);
|
||||||
}
|
}
|
||||||
put(attributeName, value);
|
put(attributeName, value);
|
||||||
|
Loading…
Reference in New Issue
Block a user