fix timezone - time with local timezone to default timezone

This commit is contained in:
pyaephyoeaung
2022-05-19 14:20:55 +06:30
parent 7598a96e60
commit 214712fd2d
48 changed files with 294 additions and 305 deletions

View File

@@ -105,7 +105,7 @@ class Crm::DiningQueuesController < BaseCrmController
booking = Booking.create({:dining_facility_id => params[:table_id],
:type => type,
:checkin_at => Time.now.utc,
:checkin_at => Time.current,
:customer_id => queue.customer_id,
:booking_status => "assign"})
booking.save!