Forráskód Böngészése

Rearrange date string

Zed 4 éve
szülő
commit
27e49376fa
1 módosított fájl, 1 hozzáadás és 1 törlés
  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'")