← Back to team overview

graphite-dev team mailing list archive

[Merge] lp:~pedronis/graphite/fix-event-date into lp:graphite

 

Samuele Pedroni has proposed merging lp:~pedronis/graphite/fix-event-date into lp:graphite.

Requested reviews:
  graphite-dev (graphite-dev)

For more details, see:
https://code.launchpad.net/~pedronis/graphite/fix-event-date/+merge/77879

fix the date formatting in the event dispaly templates
-- 
https://code.launchpad.net/~pedronis/graphite/fix-event-date/+merge/77879
Your team graphite-dev is requested to review the proposed merge of lp:~pedronis/graphite/fix-event-date into lp:graphite.
=== modified file 'webapp/graphite/templates/event.html'
--- webapp/graphite/templates/event.html	2011-08-25 05:27:35 +0000
+++ webapp/graphite/templates/event.html	2011-10-03 09:21:25 +0000
@@ -20,11 +20,11 @@
         <div class="graphite">
             <div id="main" >
               <table class="styledtable" width=100%>
-                <tr><td>when</td><td>{{event.when|date:"H:m:s D d M Y" }}</td></tr>
+                <tr><td>when</td><td>{{event.when|date:"H:i:s D d M Y" }}</td></tr>
                 <tr><td>tags</td><td>{{event.tags}}</td></tr>
                 <tr><td>data</td><td>{{event.data}}</td></tr>
               </table>
             </div>
         </div>
     </body>
-</html>
\ No newline at end of file
+</html>

=== modified file 'webapp/graphite/templates/events.html'
--- webapp/graphite/templates/events.html	2011-08-25 05:27:35 +0000
+++ webapp/graphite/templates/events.html	2011-10-03 09:21:25 +0000
@@ -24,7 +24,7 @@
                   <tr><th>when</th><th>what</th><th>tags</th></tr>
                   {% for event in events %}
                       <tr>
-                          <td>{{event.when|date:"H:m:s D d M Y" }}</td>
+                          <td>{{event.when|date:"H:i:s D d M Y" }}</td>
                           <td><a href="/events/{{event.id}}/">{{event.what}}</a></td>
                           <td>{{event.tags}}</td>
                       </tr>