mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
- Fixing instances storing dates as local time instead of UTC. The overall time management strategy will be implemented when we come to localization...
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4043005
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
<%= commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : commentEntry.Comment.CommentText %> ...
|
||||
<% } %>
|
||||
</td>
|
||||
<td><%= commentEntry.Comment.CommentDate %></td>
|
||||
<td><%= commentEntry.Comment.CommentDate.ToLocalTime() %></td>
|
||||
<td>
|
||||
<%=Html.ActionLink("Edit", "Edit", new {commentEntry.Comment.Id}) %> |
|
||||
<%=Html.ActionLink("Delete", "Delete", new {id = commentEntry.Comment.Id, redirectToAction = "Details"}) %>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<%= commentEntry.Comment.CommentText.Length > 23 ? commentEntry.Comment.CommentText.Substring(0, 24) : commentEntry.Comment.CommentText %> ...
|
||||
<% } %>
|
||||
</td>
|
||||
<td><%= commentEntry.Comment.CommentDate %></td>
|
||||
<td><%= commentEntry.Comment.CommentDate.ToLocalTime() %></td>
|
||||
<td>
|
||||
<%=Html.ActionLink(commentEntry.CommentedOn, "Details", new {id = commentEntry.Comment.CommentedOn}) %>
|
||||
</td>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<%= comment.CommentText %>
|
||||
</li>
|
||||
<li>
|
||||
Posted by <%= comment.UserName %> on <%= comment.CommentDate %>
|
||||
Posted by <%= comment.UserName %> on <%= comment.CommentDate.ToLocalTime() %>
|
||||
</li>
|
||||
<li>
|
||||
<%=Html.ActionLink("Delete", "Delete", new {Area="Orchard.Comments", Controller="Admin", id = comment.Id, returnUrl = Context.Request.Url}) %>
|
||||
|
||||
Reference in New Issue
Block a user