Add current date time
This commit is contained in:
parent
2dd9453ba5
commit
94be26b081
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue