change timestamps

main
barisusakli 9 years ago
parent c48df20194
commit b630d1e75e

@ -11,7 +11,7 @@
<!-- ENDIF ../user.picture --> <!-- ENDIF ../user.picture -->
</a> </a>
<a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->"> <a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->">
<small class="timeago" title="{../timestamp}"></small> <small class="timeago" title="{../timestampISO}"></small>
</a> </a>
</p> </p>
<div class="post-content"> <div class="post-content">

@ -24,7 +24,7 @@
<div class="post-author"> <div class="post-author">
<a href="{config.relative_path}/user/{posts.user.userslug}">{posts.user.username}</a><br /> <a href="{config.relative_path}/user/{posts.user.userslug}">{posts.user.username}</a><br />
<span class="timeago" title="{posts.relativeTime}"></span> <span class="timeago" title="{posts.timestampISO}"></span>
</div> </div>
</div> </div>
</div> </div>

@ -23,7 +23,7 @@
<!-- ENDIF posts.user.banned --> <!-- ENDIF posts.user.banned -->
<div class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block"> <div class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
<a class="permalink" href="{config.relative_path}/topic/{slug}/{function.getBookmarkFromIndex}"><span class="timeago" title="{posts.relativeTime}"></span></a> <a class="permalink" href="{config.relative_path}/topic/{slug}/{function.getBookmarkFromIndex}"><span class="timeago" title="{posts.timestampISO}"></span></a>
<i class="fa fa-pencil-square pointer edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i> <i class="fa fa-pencil-square pointer edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>

@ -48,12 +48,12 @@
<!-- IF topics.tags.length --><small>&bull;</small><!-- ENDIF topics.tags.length --> <!-- IF topics.tags.length --><small>&bull;</small><!-- ENDIF topics.tags.length -->
</span> </span>
<small class="hidden-xs"><span class="timeago" title="{topics.relativeTime}"></span></small> <small class="hidden-xs"><span class="timeago" title="{topics.timestampISO}"></span></small>
<small class="visible-xs-inline"> <small class="visible-xs-inline">
<!-- IF topics.teaser.timestamp --> <!-- IF topics.teaser.timestamp -->
<span class="timeago" title="{topics.teaser.timestamp}"></span> <span class="timeago" title="{topics.teaser.timestampISO}"></span>
<!-- ELSE --> <!-- ELSE -->
<span class="timeago" title="{topics.relativeTime}"></span> <span class="timeago" title="{topics.timestampISO}"></span>
<!-- ENDIF topics.teaser.timestamp --> <!-- ENDIF topics.teaser.timestamp -->
</small> </small>
</h2> </h2>
@ -90,7 +90,7 @@
<!-- ENDIF topics.teaser.user.picture --> <!-- ENDIF topics.teaser.user.picture -->
</a> </a>
<a class="permalink" href="{config.relative_path}/topic/{topics.slug}/{topics.teaser.index}"> <a class="permalink" href="{config.relative_path}/topic/{topics.slug}/{topics.teaser.index}">
<span class="timeago" title="{topics.teaser.timestamp}"></span> <span class="timeago" title="{topics.teaser.timestampISO}"></span>
</a> </a>
</p> </p>
<div class="post-content"> <div class="post-content">

@ -165,7 +165,7 @@
<div class="user-icon user-img" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div> <div class="user-icon user-img" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div>
<!-- ENDIF posts.user.picture --> <!-- ENDIF posts.user.picture -->
</a> </a>
<a href="{config.relative_path}/category/{posts.category.slug}">[[global:posted_in, {posts.category.name}]] <i class="fa {posts.category.icon}"></i> <span class="timeago" title="{posts.relativeTime}"></span></a> <a href="{config.relative_path}/category/{posts.category.slug}">[[global:posted_in, {posts.category.name}]] <i class="fa {posts.category.icon}"></i> <span class="timeago" title="{posts.timestampISO}"></span></a>
</span> </span>
</small> </small>
</div> </div>

@ -24,8 +24,8 @@
<li component="post" class="<!-- IF posts.deleted -->deleted<!-- ENDIF posts.deleted -->" <!-- IMPORT partials/data/topic.tpl -->> <li component="post" class="<!-- IF posts.deleted -->deleted<!-- ENDIF posts.deleted -->" <!-- IMPORT partials/data/topic.tpl -->>
<a component="post/anchor" data-index="{posts.index}" name="{posts.index}"></a> <a component="post/anchor" data-index="{posts.index}" name="{posts.index}"></a>
<meta itemprop="datePublished" content="{posts.relativeTime}"> <meta itemprop="datePublished" content="{posts.timestampISO}">
<meta itemprop="dateModified" content="{posts.relativeEditTime}"> <meta itemprop="dateModified" content="{posts.editedISO}">
<!-- IMPORT partials/topic/post.tpl --> <!-- IMPORT partials/topic/post.tpl -->
</li> </li>

Loading…
Cancel
Save