diff examples/tutorial/geddit/templates/index.html @ 621:734fbb77b579 trunk

Use system default date/time format in templates.
author cmlenz
date Thu, 30 Aug 2007 19:09:28 +0000
parents 756e7418e10c
children 6780f1b1b20d
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/index.html
+++ b/examples/tutorial/geddit/templates/index.html
@@ -13,7 +13,7 @@
     <ol py:if="links" class="links">
       <li py:for="link in links">
         <a href="${link.url}">${link.title}</a>
-        posted by ${link.username} at ${link.time.strftime('%m/%d/%Y %H:%M')}
+        posted by ${link.username} at ${link.time.strftime('%x %X')}
         <div class="info">
           <a href="${url('/info/%s/' % link.id)}">
             ${len(link.comments)} comments
Copyright (C) 2012-2017 Edgewall Software