diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m index 9e3205721..4213e819e 100644 --- a/ActiveSync/SOGoMailObject+ActiveSync.m +++ b/ActiveSync/SOGoMailObject+ActiveSync.m @@ -36,6 +36,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #import #import #import +#import #import #import @@ -960,7 +961,7 @@ struct GlobalObjectId { if ([event startDate]) [s appendFormat: @"%@", [[event startDate] activeSyncRepresentationInContext: context]]; - if ([event timeStampAsDate]) + if ([event timeStampAsDate] && [[event timeStampAsDate] dayOfMonth] > 0 && [[event timeStampAsDate] monthOfYear] > 0) [s appendFormat: @"%@", [[event timeStampAsDate] activeSyncRepresentationInContext: context]]; else if ([event created]) [s appendFormat: @"%@", [[event created] activeSyncRepresentationInContext: context]]; diff --git a/NEWS b/NEWS index 680b9db92..1766fa871 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ Bug fixes - [eas] strip '<>' from bodyId and when forwarding mails - [eas] fix search on for Outlook application (#4605 and #4607) + - [eas] better handle bogus DTStart values 4.0.1 (2018-07-10) ------------------