Ehh how did that happen

This commit is contained in:
Lior Halphon 2023-01-29 00:10:25 +02:00
parent 8edbbbdf49
commit 2e1f4445e9
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
} }
else { else {
NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
formatter.timeStyle = kCFDateFormatterShortStyle; formatter.timeStyle = NSDateFormatterShortStyle;
formatter.dateStyle = NSDateFormatterShortStyle; formatter.dateStyle = NSDateFormatterShortStyle;
formatter.doesRelativeDateFormatting = true; formatter.doesRelativeDateFormatting = true;
view.slotSubtitleLabel.text = [formatter stringFromDate:date]; view.slotSubtitleLabel.text = [formatter stringFromDate:date];