Skip to content

Commit

Permalink
#98 revert date changes to previous
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Oct 23, 2016
1 parent 28b269c commit 1cd8592
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ReplyWithHeader/MHHeaderString.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 1cd8592

Please sign in to comment.