Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class IssueCommentDetailCell: IssueCommentBaseCell, ListBindable {
contentView.addSubview(badgeView)
badgeView.snp.makeConstraints { make in
make.centerY.equalTo(dateLabel)
make.right.equalTo(dateLabel.snp.left).offset(-Styles.Sizes.columnSpacing)
make.right.equalTo(-40)
}
}

Expand Down
7 changes: 6 additions & 1 deletion Local Pods/DateAgo/DateAgo/Date+AgoString.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ public extension Date {
case .future:
return NSLocalizedString("in the future", bundle: Date.bundle, comment: "")
case .seconds:
return NSLocalizedString("just now", bundle: Date.bundle, comment: "")
switch format {
case .long:
return NSLocalizedString("just now", bundle: Date.bundle, comment: "")
case .short:
return NSLocalizedString("now", bundle: Date.bundle, comment: "")
}
case .minutes(let t):
switch format {
case .long:
Expand Down