Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #694 from alphagov/bau-fix-invalid-time-zone
Browse files Browse the repository at this point in the history
BAU: Fix timezone issue
  • Loading branch information
adityapahuja authored Apr 18, 2019
2 parents 8b2f4eb + c0087e7 commit fdfc237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/further_information_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def submit_null_attribute
private

def expired?
!session[:assertion_expiry].nil? && Time.parse(session[:assertion_expiry]) <= Time.now
!session[:assertion_expiry].nil? && Time.parse(session[:assertion_expiry]) <= Time.now.utc
end

def get_seconds_to_timeout
Expand Down

0 comments on commit fdfc237

Please sign in to comment.