update utc

This commit is contained in:
Aung Myo
2017-06-27 15:10:42 +06:30
parent f762664912
commit ff2844124e
2 changed files with 2 additions and 2 deletions

View File

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