Respond to CR.

This commit is contained in:
Matthew Chen 2018-02-13 15:03:43 -05:00
parent 48b6c3dafb
commit 0944c2661e

View file

@ -87,8 +87,6 @@ static NSString *const DATE_FORMAT_WEEKDAY = @"EEEE";
dateString = NSLocalizedString(@"DATE_TODAY", @"The current day.");
} else if ([self dateIsYesterday:pastDate]) {
dateString = NSLocalizedString(@"DATE_YESTERDAY", @"The day before today.");
} else if (![self dateIsOlderThanOneWeek:pastDate]) {
dateString = [[self weekdayFormatter] stringFromDate:pastDate];
} else {
dateString = [[self dateFormatter] stringFromDate:pastDate];
}