Simplified html for tweet timestamp.

This commit is contained in:
Maurice Parker 2020-04-20 07:37:06 -05:00
parent 8fcc46191a
commit 492e9ae065
1 changed files with 1 additions and 3 deletions

View File

@ -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