From 30f0852f56504c938eee937d0d6fe2d47be5bc06 Mon Sep 17 00:00:00 2001 From: phyusin Date: Tue, 27 Nov 2018 18:48:44 +0630 Subject: [PATCH] change local time --- app/controllers/api/check_in_process_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/check_in_process_controller.rb b/app/controllers/api/check_in_process_controller.rb index ce0aaafd..6f0ae28c 100644 --- a/app/controllers/api/check_in_process_controller.rb +++ b/app/controllers/api/check_in_process_controller.rb @@ -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