Show Local Time

This commit is contained in:
Phyo
2017-06-22 16:45:58 +06:30
parent 4254004423
commit 298a06fc1e
7 changed files with 64 additions and 64 deletions

View File

@@ -119,7 +119,7 @@
</span></p>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 text-right">
<p>Date: <span id="receipt_date"><%= @order.created_at.utc.strftime("%d/%m/%Y - %I:%M %p") rescue '-'%></span></p>
<p>Date: <span id="receipt_date"><%= @order.created_at.utc.getlocal.getlocal.strftime("%d/%m/%Y - %I:%M %p") rescue '-'%></span></p>
</div>
</div>
<div class="card-title row customer_detail hide">