From 1cd8592986d2c0286b9c7957f5f427496e11ac7a Mon Sep 17 00:00:00 2001 From: Jeevanandam M Date: Sun, 23 Oct 2016 16:11:21 -0700 Subject: [PATCH] #98 revert date changes to previous --- ReplyWithHeader/MHHeaderString.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ReplyWithHeader/MHHeaderString.m b/ReplyWithHeader/MHHeaderString.m index d5b8641..12e7e3e 100644 --- a/ReplyWithHeader/MHHeaderString.m +++ b/ReplyWithHeader/MHHeaderString.m @@ -499,9 +499,11 @@ - (void)applyDateAttibutionStyle [dateFormatter setLocale:choosenLocale]; int dateTagStyle = GET_DEFAULT_INT(MHHeaderAttributionDateTagStyle); - if (dateTagStyle == 0) { - [dateFormatter setDateFormat:@"EEEE, MMM d, yyyy 'at' h:mm:ss a"]; - } else if (dateTagStyle == 1) { +// if (dateTagStyle == 0) { +// NSLog(@"Default Date format: %@", [dateFormatter dateFormat]); +// [dateFormatter setDateFormat:@"EEEE, MMM d, yyyy 'at' h:mm:ss a"]; +// } else + if (dateTagStyle == 1) { //[dateFormatter setFormatterBehavior:NSDateFormatterBehavior10_4]; NSTimeZone *gmt = [NSTimeZone timeZoneWithAbbreviation:@"GMT"]; [dateFormatter setTimeZone:gmt];