1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-25 19:19:17 +01:00

Rearrange date string

This commit is contained in:
Zed 2022-01-03 03:52:39 +01:00
parent 80ebec3122
commit 27e49376fa

View File

@ -118,7 +118,7 @@ proc getJoinDateFull*(profile: Profile): string =
profile.joinDate.format("h:mm tt - d MMM YYYY")
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 =
tweet.time.format("ddd', 'dd MMM yyyy HH:mm:ss 'GMT'")