Я пытаюсь отформатировать строку в обычное, а не военное время.Как бы я это сделал.
if ([components hour] == 0 &&
[components minute] == 0 &&
[components second] == 0){
result.detailTextLabel.text =
[NSString stringWithFormat:
@"%02ld/%02ld/%02ld - %02ld/%02ld/%02ld All Day",
(long)[components month],
(long)[components day],
(long)[components year],
(long)[components1 month],
(long)[components1 day],
(long)[components1 year]];
} else {
result.detailTextLabel.text =
[NSString stringWithFormat:
@"%02ld/%02ld/%02ld at %02ld:%02ld - %02ld:%02ld",
(long)[components month],
(long)[components day],
(long)[components year],
(long)[components hour],
(long)[components minute],
(long)[components1 hour],
(long)[components1 minute]];
}