From b4af872b576b245325d7ee26e73452a5f1b4a08a Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 10 Dec 2019 10:54:26 +0300 Subject: Drop CocoaPods --- Juick/Views/MessageCell.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Juick/Views') diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m index c3a8afd..a64b7c3 100644 --- a/Juick/Views/MessageCell.m +++ b/Juick/Views/MessageCell.m @@ -10,6 +10,8 @@ #import "APIClient.h" #import "Entity.h" +#import "NSDate+TimeAgo.h" + @interface MessageCell() @property(nonatomic, readonly) NSMutableParagraphStyle *quoteStyle; @property(nonatomic, readonly) UIFont *boldFont; @@ -80,7 +82,7 @@ const NSString *unreadMarker = @"●"; } self.title.text = msg.user.uname; - self.timestamp.text = [[[APIClient sharedClient].dateFormatter dateFromString:msg.timestamp] timeAgoSinceNow]; + self.timestamp.text = [[[APIClient sharedClient].dateFormatter dateFromString:msg.timestamp] timeAgo]; NSUInteger count = [msg.repliesCount unsignedIntegerValue]; if (count > 0) { if ([msg.repliesBy length] > 0) { -- cgit v1.2.3