nicer dates
authorx2000habouzit <x2000habouzit>
Sat, 16 Oct 2004 22:44:40 +0000 (22:44 +0000)
committerx2000habouzit <x2000habouzit>
Sat, 16 Oct 2004 22:44:40 +0000 (22:44 +0000)
templates/newsletter/index.tpl
templates/newsletter/show.tpl

index 93430e4..68ae7c4 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: index.tpl,v 1.2 2004-10-16 17:49:39 x2000habouzit Exp $
+        $Id: index.tpl,v 1.3 2004-10-16 22:44:40 x2000habouzit Exp $
  ***************************************************************************}
 
 
@@ -41,7 +41,7 @@ utilise <a href='submit.php'>le formulaire d
   </tr>
   {foreach item=nl from=$nl_list}
   <tr class="{cycle values="impair,pair"}">
-    <td>{$nl.date|date_format:"%Y-%m-%d"}</td>
+    <td>{$nl.date|date_format:"%d %b %Y"}</td>
     <td>
       <a href="{"newsletter/show.php"|url}?nid={$nl.id}">{$nl.titre}</a>
     </td>
index dba318a..103ac7c 100644 (file)
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: show.tpl,v 1.2 2004-10-16 21:14:16 x2000habouzit Exp $
+        $Id: show.tpl,v 1.3 2004-10-16 22:44:40 x2000habouzit Exp $
  ***************************************************************************}
 
 {dynamic}
 <div class="rubrique">
-  Lettre de Polytechnique.org de {$nl->_date|date_format:"%B %Y"}
+  Lettre de Polytechnique.org du {$nl->_date|date_format:"%d %B %Y"}
 </div>
 
 <p>