blog/themes/typing/layout/_partial/post/date.ejs

3 lines
220 B
Plaintext

<%/* Date format is specified to skip timezone conversion */%>
<time class="published" datetime="<%= date(post.date, 'YYYY-MM-DD[T00:00:00.000Z]') %>" itemprop="datePublished"><%= date(post.date, 'D MMM YYYY') %></time>