remove unnessary timezone convertion
This commit is contained in:
@@ -72,12 +72,12 @@
|
||||
<td><%= link_to booking.booking_id, transactions_booking_path(booking) %></td>
|
||||
<td><%= link_to booking.sale_id, transactions_sale_path(booking.sale_id) rescue '-' %></td>
|
||||
<td><%= booking.dining_facility.name rescue '' %></td>
|
||||
<td><%= booking.checkin_at.utc.getlocal.strftime("%I:%M %p") %></td>
|
||||
<td><%= booking.checkout_at.utc.getlocal.strftime("%I:%M %p") rescue '-' %></td>
|
||||
<td><%= booking.checkin_at.strftime("%I:%M %p") %></td>
|
||||
<td><%= booking.checkout_at.strftime("%I:%M %p") rescue '-' %></td>
|
||||
<td><%= booking.checkin_by rescue '-' %></td>
|
||||
<td><%= booking.checkout_by rescue '-' %></td>
|
||||
<td> <%= booking.booking_status %> </td>
|
||||
<td> <%= booking.created_at.utc.getlocal.strftime("%d-%m-%Y %I:%M %p") %> </td>
|
||||
<td> <%= booking.created_at.strftime("%d-%m-%Y %I:%M %p") %> </td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% else %>
|
||||
|
||||
Reference in New Issue
Block a user