@@ -31,7 +31,7 @@ class PostViewCell: UITableViewCell
3131 return label
3232 }()
3333
34− let commentsLabel: UILabel = {
34+ let timeLabel: UILabel = {
3535 let label = UILabel()
3636 label.font = UIFont.systemFont(ofSize: 12)
3737 label.textColor = #colorLiteral(red: 0.6000000238, green: 0.6000000238, blue: 0.6000000238, alpha: 1)
@@ -84,6 +84,7 @@ class PostViewCell: UITableViewCell
8484 nameLabel.setTitle("\(post.user?.firstName ?? "") \(post.user?.lastName ?? "")", for: .normal)
8585 nameLabel.addTarget(self, action: #selector(displayProfile), for: .touchUpInside)
8686 fullNameLabel.text = "\(post.authorId)"
87+
8788 setUpInStackView(isFullVersoin)
8889 }
8990
@@ -151,10 +152,11 @@ class PostViewCell: UITableViewCell
151152
152153 stackView.edgesToSuperview(excluding: [.top, .bottom], insets: .left(16) + .right(16))
153154
154− let commentsSharesStackView = UIStackView(arrangedSubviews: [ commentsLabel, shareButton])
155+ let commentsSharesStackView = UIStackView(arrangedSubviews: [ timeLabel, shareButton])
155156 contentView.addSubview(commentsSharesStackView)
156157
157− commentsLabel.text = "14.02.19 в 23:00"
158+ timeLabel.text = post!.convertDateFormatter()
159+
158160 commentsSharesStackView.axis = .horizontal
159161 commentsSharesStackView.distribution = .equalSpacing
160162 commentsSharesStackView.edgesToSuperview(excluding: .top, insets: .bottom(10) + .left(16) + .right(16))