diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index bea9e6173..bb053d9c0 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -568,7 +568,7 @@ class ApplicationController < ActionController::Base end def strf_date(date) - date.blank? ? '' : date.strftime("%Y-%m-%d") + date.blank? ? '' : Time.parse(date).strftime("%Y-%m-%d") end def logger_error(error)