Skip to content

Commit

Permalink
return to previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
MadzMed committed Nov 29, 2024
1 parent 30d8528 commit 7341468
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datasources/sources/open_agenda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ def self.fetch(path, query, key = 'events', size = 100, **kwargs)
end

def self.fetch_event(path, query)
Time.zone = 'Europe/Paris'
url = T.let(build_url(path, query.merge({ 'timings[gte]' => Time.zone.today })), T.nilable(String))
url = T.let(build_url(path, query.merge({ 'timings[gte]' => Date.today })), T.nilable(String))
response = HTTP.follow.get(url)
raise [url, response].inspect unless response.status.success?

Expand Down

0 comments on commit 7341468

Please sign in to comment.