mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-23 04:45:34 +00: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 a new issue