change local time

This commit is contained in:
phyusin
2018-11-27 18:48:44 +06:30
parent 89decc33a6
commit 30f0852f56

View File

@@ -101,7 +101,7 @@ class Api::CheckInProcessController < Api::ApiController
end
end
if checkout_at.strftime("%Y-%m-%d %H:%M%p") > today.strftime("%Y-%m-%d %H:%M%p")
if checkout_at.strftime("%Y-%m-%d %H:%M%p") >= today.strftime("%Y-%m-%d %H:%M%p")
# if dining_facility.type == "Table"
# type = "TableBooking"
# else