mirror of
https://github.com/zedeus/nitter.git
synced 2026-04-14 17:52:14 -04:00
Generate tweet links
This commit is contained in:
@@ -94,3 +94,6 @@ proc pageTitle*(page: string): string =
|
||||
|
||||
proc getTime*(tweet: Tweet): string =
|
||||
tweet.time.format("d/M/yyyy', ' HH:mm:ss")
|
||||
|
||||
proc getLink*(tweet: Tweet | Quote): string =
|
||||
&"{tweet.profile.username}/status/{tweet.id}"
|
||||
|
||||
Reference in New Issue
Block a user