aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-26 14:10:31 +0200
committerAdrian Kummerlaender2014-07-26 14:10:31 +0200
commitf1b5bc10962b31c3869724384832e85f99b9f03c (patch)
tree4b7a6c6c014306cee2c3a2d9caa87b999c9b75eb /source
parentd1519b500c0c32b3ad0a1af617e40dd5e0c3b3db (diff)
downloadblog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar.gz
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar.bz2
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar.lz
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar.xz
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.tar.zst
blog.kummerlaender.eu-f1b5bc10962b31c3869724384832e85f99b9f03c.zip
Changed date formatting to ISO / English
* dates in lists such as the tag list are displayed in plain ISO formatting ** this way the article titles all start at the same horizontal offset which I find much more visually pleasing * dates on article pages are formatted in the English way instead of in English but formatted as in Germany
Diffstat (limited to 'source')
-rw-r--r--source/99_result/article/article.xsl2
-rw-r--r--source/99_result/tag/tag.xsl7
2 files changed, 2 insertions, 7 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index 9c5cd3e..558ab6a 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -35,7 +35,7 @@
<p class="info">
<xsl:call-template name="format-date">
<xsl:with-param name="date" select="./date"/>
- <xsl:with-param name="format" select="'x. M Y'"/>
+ <xsl:with-param name="format" select="'M x, Y'"/>
</xsl:call-template>
| <xsl:for-each select="tags/tag">
<a href="{$url}/tag/{.}">
diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl
index 0ed3007..1bae16c 100644
--- a/source/99_result/tag/tag.xsl
+++ b/source/99_result/tag/tag.xsl
@@ -15,7 +15,6 @@
/>
<xsl:include href="[utility/master.xsl]"/>
-<xsl:include href="[utility/date-time.xsl]"/>
<xsl:variable name="meta">
<datasource type="main" mode="iterate" source="target/03_meta/tags.xml" target="tag"/>
@@ -38,11 +37,7 @@
<xsl:template match="tag/entry/article">
<li>
- <xsl:call-template name="format-date">
- <xsl:with-param name="date" select="date"/>
- <xsl:with-param name="format" select="'x. M Y'"/>
- </xsl:call-template>
- » <a href="{$url}/article/{@handle}"><xsl:value-of select="title"/></a>
+ <xsl:value-of select="date"/> » <a href="{$url}/article/{@handle}"><xsl:value-of select="title"/></a>
</li>
</xsl:template>