add time in oqs

This commit is contained in:
Yan
2017-06-26 14:35:44 +06:30
parent e1c981e8c2
commit cc67abcfc1
3 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,7 @@
<p class="card-text">
<small class="text-muted">Order at
<span class="order-at">
<%= qid.created_at.strftime("%Y %m %d") %>
<%= qid.created_at.utc.getlocal.strftime("%d-%m-%Y %I:%M %p") %>
</span> -
<span class="order-by">
<%= qid.item_order_by %>
@@ -105,7 +105,7 @@
<p class="card-text">
<small class="text-muted">Order at
<span class="order-at">
<%= qid.created_at.getlocal.strftime("%Y-%m-%d") %>
<%= qid.created_at.utc.getlocal.strftime("%d-%m-%Y %I:%M %p") %>
</span> -
<span class="order-by">
<%= qid.item_order_by %>