diff --git a/Frameworks/Account/FeedProvider/Twitter/TwitterStatus.swift b/Frameworks/Account/FeedProvider/Twitter/TwitterStatus.swift index cb9c2886c..9fb9ad047 100644 --- a/Frameworks/Account/FeedProvider/Twitter/TwitterStatus.swift +++ b/Frameworks/Account/FeedProvider/Twitter/TwitterStatus.swift @@ -105,11 +105,13 @@ private extension TwitterStatus { func renderAsTweetHTML(_ status: TwitterStatus, topLevel: Bool) -> String { var html = "
\(status.displayHTML ?? "")
" - if !topLevel, let createdAt = status.createdAt { + if !topLevel, let createdAt = status.createdAt, let url = status.url { let dateFormatter = DateFormatter() dateFormatter.dateStyle = .medium dateFormatter.timeStyle = .short + html += "" html += "
\(dateFormatter.string(from: createdAt))
" + html += "
" } return html