Simplified html for tweet timestamp.
This commit is contained in:
parent
8fcc46191a
commit
492e9ae065
|
@ -117,9 +117,7 @@ private extension TwitterStatus {
|
|||
let dateFormatter = DateFormatter()
|
||||
dateFormatter.dateStyle = .medium
|
||||
dateFormatter.timeStyle = .short
|
||||
html += "<a href=\"\(url)\">"
|
||||
html += "<div class=\"twitterTimestamp\">\(dateFormatter.string(from: createdAt))</div>"
|
||||
html += "</a>"
|
||||
html += "<a href=\"\(url)\" class=\"twitterTimestamp\">\(dateFormatter.string(from: createdAt))</a>"
|
||||
}
|
||||
|
||||
return html
|
||||
|
|
Loading…
Reference in New Issue