From f546d4451b44a244e885d6968403e14884075c99 Mon Sep 17 00:00:00 2001 From: Suha Can Date: Thu, 4 Mar 2010 16:26:58 -0800 Subject: [PATCH] - Fixing the date shown for comments in the admin views (using the datetime htmlhelper to show date for the comments). --HG-- branch : dev --- .../Modules/Orchard.Comments/Views/Admin/Details.aspx | 2 +- src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.aspx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.aspx b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.aspx index a2d1c5dda..ecb1a42b8 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.aspx +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.aspx @@ -83,7 +83,7 @@ <%=Html.Encode(commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : commentEntry.Comment.CommentText) %><%=_Encoded(" ...") %> <% } %> - <%=commentEntry.Comment.CommentDateUtc.GetValueOrDefault().ToLocalTime() %> + <%=Html.DateTime(commentEntry.Comment.CommentDateUtc.GetValueOrDefault()) %>