Add current date time

This commit is contained in:
Andrew Tomaka 2015-04-26 10:25:02 -04:00
parent 2dd9453ba5
commit 94be26b081

View file

@ -32,8 +32,8 @@
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<div class="well well-lg text-center"><strong><%= Time.now.utc.strftime('%H:%M on %m-%d-%Y') %></strong></div>
<h2>Top 20</h2> <h2>Top 20</h2>
<br/><br/>
<ul class="list-group"> <ul class="list-group">
<% @top20.each do |user| %> <% @top20.each do |user| %>
<li class="list-group-item"><%= user[:user] %><span class="pull-right"><small><%= user[:date].strftime('%H:%M on %m-%d-%Y') if user[:date] %></small></li> <li class="list-group-item"><%= user[:user] %><span class="pull-right"><small><%= user[:date].strftime('%H:%M on %m-%d-%Y') if user[:date] %></small></li>