]> git.r.bdr.sh - rbdr/blog/commitdiff
Make this created_on more readable
authorRuben Beltran del Rio <redacted>
Mon, 6 Jan 2025 17:23:24 +0000 (18:23 +0100)
committerRuben Beltran del Rio <redacted>
Mon, 6 Jan 2025 17:23:24 +0000 (18:23 +0100)
src/post.rs

index ef744b42a4ca07c11d14cea23382ae01280c8843..97c49f15f9e50cd715eb6bce08bacfba301391d0 100644 (file)
@@ -95,7 +95,7 @@ mod tests {
         let post = Post {
             metadata: Metadata {
                 id: "cool".to_string(),
-                created_on: 1736035200000,
+                created_on: 1_736_035_200_000,
             },
             index: 28,
             html: "<p>beep boop</p>".to_string(),