diff --git a/ActiveSync/SOGoActiveSyncDispatcher.m b/ActiveSync/SOGoActiveSyncDispatcher.m index 1d6f2bfbb..377ebd1c1 100644 --- a/ActiveSync/SOGoActiveSyncDispatcher.m +++ b/ActiveSync/SOGoActiveSyncDispatcher.m @@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #import #import #import +#import #import #import #import @@ -2947,7 +2948,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. { NSString *value; - value = [[NSDate date] descriptionWithCalendarFormat: @"%a, %d %b %Y %H:%M:%S %z" timeZone: [NSTimeZone timeZoneWithName: @"GMT"] locale: nil]; + value = [[NSDate date] descriptionWithCalendarFormat: @"%a, %d %b %Y %H:%M:%S %z" + timeZone: [NSTimeZone timeZoneWithName: @"GMT"] + locale: [[[NSLocale alloc] initWithLocaleIdentifier: @"en_US"] autorelease]]; s = [NSString stringWithFormat: @"Date: %@\n%@", value, [theRequest contentAsString]]; } else diff --git a/NEWS b/NEWS index bfe555813..1af9d69df 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ Enhancements Bug fixes - numerous EAS fixes when connections are dropped before the EAS client receives the response (#3058, #2849) - correctly handle the References header over EAS (#3365) + - make sure English is always used when generating Date headers using EAS (#3356) 2.3.2 (2015-09-16) ------------------