Permalink
Browse files

fix: data format 时间格式

MM: month  01-12
mm: minute 01-60
  • Loading branch information...
MOxFIVE committed Nov 9, 2015
1 parent 381566a commit c732947298ca4f0340f7557c86daea6bd12aadbd
Showing with 2 additions and 2 deletions.
  1. +2 −2 layout/_partial/post/nav.ejs
@@ -2,8 +2,8 @@
<div class="copyright">
<p><span>本文标题:</span><a href="<%- url_for(post.path) %>"><%= post.title %></a></p>
<p><span>文章作者:</span><a href="/" title="访问 <%=theme.author%> 的个人博客"><%=theme.author%></a></p>
<p><span>发布时间:</span><%= post.date.format("YYYY年M月D日 - HH时MM分") %></p>
<p><span>最后更新:</span><%= post.updated.format("YYYY年M月D日 - HH时MM分") %></p>
<p><span>发布时间:</span><%= post.date.format("YYYY年MM月DD日 - HH时mm分") %></p>
<p><span>最后更新:</span><%= post.updated.format("YYYY年MM月DD日 - HH时mm分") %></p>
<p>
<span>原始链接:</span><a href="<%- url_for(post.path) %>" title="<%= post.title %>"><%= post.permalink %></a>
<span class="btn" data-clipboard-text="原文: <%= post.permalink %>  作者: <%=theme.author%>" title="点击复制文章链接">

1 comment on commit c732947

@MOxFIVE

This comment has been minimized.

Show comment
Hide comment
@MOxFIVE

MOxFIVE Nov 10, 2015

Owner

Date format

Owner

MOxFIVE commented on c732947 Nov 10, 2015

Date format

Please sign in to comment.