mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Simplify method
This commit is contained in:
parent
2b3846e76d
commit
058762c8c5
1 changed files with 3 additions and 2 deletions
|
@ -106,9 +106,10 @@
|
|||
NSString *result = nil;
|
||||
NSDate *fromDate = [dateInterval startDate];
|
||||
NSDate *toDate = [dateInterval endDate];
|
||||
|
||||
// Add formatting of NSDate here.
|
||||
|
||||
result = [NSString stringWithFormat: @"%@ - %@", fromDate, toDate];
|
||||
return result;
|
||||
return [NSString stringWithFormat: @"%@ - %@", fromDate, toDate];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue