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