Skip to content

Commit

Permalink
Cast to UTC Time obj for proper format
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpierce authored Nov 11, 2024
1 parent 89fac5f commit 454c42a
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ def only_expired_embargoes(solr_params)
private

def now
Hyrax::TimeService.time_in_utc.xmlschema
Hyrax::TimeService.time_in_utc.utc.xmlschema
end
end
end
2 changes: 1 addition & 1 deletion app/search_builders/hyrax/expired_lease_search_builder.rb
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ def only_expired_leases(solr_params)
private

def now
Hyrax::TimeService.time_in_utc.xmlschema
Hyrax::TimeService.time_in_utc.utc.xmlschema
end
end
end

0 comments on commit 454c42a

Please sign in to comment.