summaryrefslogtreecommitdiff
path: root/example/templates/src
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-09-29 22:55:15 +0200
committerKevin Chabowski <kevin@kch42.de>2011-09-29 22:55:15 +0200
commit9b8a50224bd9ebd1f37e7cf969d61e4a8edd0417 (patch)
tree4e3f37a8ee6b0ebe7afb8fafbe8c93180cb6b593 /example/templates/src
parentb28851a117de5a4a92a5c50b1f9738a6b6181d8d (diff)
downloadste-9b8a50224bd9ebd1f37e7cf969d61e4a8edd0417.tar.gz
ste-9b8a50224bd9ebd1f37e7cf969d61e4a8edd0417.tar.bz2
ste-9b8a50224bd9ebd1f37e7cf969d61e4a8edd0417.zip
ste:date now uses strftime
Because strftime is more flexible: You can... * ...put arbitrary text inside the format * ...manipulate it by set the locale (i.e. set language-specific month names etc.)
Diffstat (limited to 'example/templates/src')
-rw-r--r--example/templates/src/articles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/templates/src/articles.html b/example/templates/src/articles.html
index c0db692..108a3b8 100644
--- a/example/templates/src/articles.html
+++ b/example/templates/src/articles.html
@@ -6,7 +6,7 @@
<ste:foreach_limit array="articles" value="article" max="3" counter="i">
<h3><ste:uppercase><ste:escape>$article[title]</ste:escape></ste:uppercase></h3>
<div class="author">Author: <ste:escape>$article[author]</ste:escape></div>
- <div class="date"><ste:date timestamp="$article[timestamp]">d. M. Y, H:i:s</ste:date></div>
+ <div class="date"><ste:date timestamp="$article[timestamp]">%d. %h. %Y, %H:%M:%S</ste:date></div>
<div class="article_content">
<ste:if>
<ste:cmp var_a="i" op="eq" text_b="0" />