Explorar o código

Rearrange date string

Zed %!s(int64=4) %!d(string=hai) anos
pai
achega
27e49376fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/formatters.nim

+ 1 - 1
src/formatters.nim

@@ -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'")