mirror of
https://github.com/zedeus/nitter
synced 2024-11-25 19:19:17 +01:00
Rearrange date string
This commit is contained in:
parent
80ebec3122
commit
27e49376fa
@ -118,7 +118,7 @@ proc getJoinDateFull*(profile: Profile): string =
|
|||||||
profile.joinDate.format("h:mm tt - d MMM YYYY")
|
profile.joinDate.format("h:mm tt - d MMM YYYY")
|
||||||
|
|
||||||
proc getTime*(tweet: Tweet): string =
|
proc getTime*(tweet: Tweet): string =
|
||||||
tweet.time.format("h:mm tt' · 'MMM d', 'YYYY 'UTC'")
|
tweet.time.format("MMM d', 'YYYY' · 'h:mm tt' UTC'")
|
||||||
|
|
||||||
proc getRfc822Time*(tweet: Tweet): string =
|
proc getRfc822Time*(tweet: Tweet): string =
|
||||||
tweet.time.format("ddd', 'dd MMM yyyy HH:mm:ss 'GMT'")
|
tweet.time.format("ddd', 'dd MMM yyyy HH:mm:ss 'GMT'")
|
||||||
|
Loading…
Reference in New Issue
Block a user