aboutsummaryrefslogtreecommitdiffstats
path: root/lib/news.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2010-11-30 08:32:43 +0000
committerRomain d'Alverny <rda@mageia.org>2010-11-30 08:32:43 +0000
commit109b333a72e4992124066e4886a007c3dccd67ae (patch)
treef37d320f8d05720c47966bd5ef50fbfaf730cbf4 /lib/news.php
parent398530aae51c4e3b20990700eceb05442c244aba (diff)
downloadwww-109b333a72e4992124066e4886a007c3dccd67ae.tar
www-109b333a72e4992124066e4886a007c3dccd67ae.tar.gz
www-109b333a72e4992124066e4886a007c3dccd67ae.tar.bz2
www-109b333a72e4992124066e4886a007c3dccd67ae.tar.xz
www-109b333a72e4992124066e4886a007c3dccd67ae.zip
Diffstat (limited to 'lib/news.php')
-rw-r--r--lib/news.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/news.php b/lib/news.php
index 224302559..70032009d 100644
--- a/lib/news.php
+++ b/lib/news.php
@@ -36,6 +36,7 @@ function news_date($dt, $locale = 'en')
$formats = array(
'en' => 'M d Y',
'fr' => 'd M Y',
+ 'de' => 'd. M Y',
'default' => 'Y-m-d'
);
$ft = array_key_exists($locale, $formats) ? $locale : 'default';