Rearrange date string
This commit is contained in:
parent
80ebec3122
commit
27e49376fa
1 changed files with 1 additions and 1 deletions
|
@ -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