mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Respond to CR.
This commit is contained in:
parent
48b6c3dafb
commit
0944c2661e
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue