diff --git a/OliverBooth/Pages/Blog/Index.cshtml.cs b/OliverBooth/Pages/Blog/Index.cshtml.cs index 3b960e6..1ab3065 100644 --- a/OliverBooth/Pages/Blog/Index.cshtml.cs +++ b/OliverBooth/Pages/Blog/Index.cshtml.cs @@ -57,7 +57,7 @@ public class Index : PageModel if (post is not null) { - return Redirect($"/blog/{post.Published:yyyy/MM}/{post.Slug}"); + return Redirect($"/blog/{post.Published:yyyy/MM/dd}/{post.Slug}"); } return NotFound();