format() doesn't support locales, strftime() does.
authorJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 16:35:01 +0000 (17:35 +0100)
committerJan Schneider <jan@horde.org>
Fri, 4 Dec 2009 09:59:16 +0000 (10:59 +0100)
kronolith/templates/index/index.inc

index 776e9ef..d16eba5 100644 (file)
@@ -12,7 +12,7 @@
 <!-- begin top bar -->
 <div id="kronolithBar">
   <div class="kronolithDateChoice" <?php $todayAccessKey = Horde::getAccessKey(_("_Today")); echo Horde::getAccessKeyAndTitle(_("_Today"), true) ?>>
-    <div><?php echo substr($today->format('l'), 0, 3) . $today->format(', j M Y') ?></div>
+    <div><?php echo $today->strftime('%a, %e %b %Y') ?></div>
   </div>
 
   <div id="kronolithNav">