Skip to content

Commit 6cb0ae3

Browse files
committed
fix(gray_scott_ingestor): start and end to utc
1 parent 747e500 commit 6cb0ae3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ingestors/heptraining/gray_scott_ingestor.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ def process_calevent(calevent, url)
4040
event.url = gs_url
4141
event.description = html.css('.paragraphStyle').text.strip || calevent.description.to_s
4242

43-
event.end = calevent.dtend&.to_time
43+
event.end = calevent.dtend&.to_time&.utc
4444
unless calevent.dtstart.nil?
4545
dtstart = calevent.dtstart
46-
event.start = dtstart&.to_time
46+
event.start = dtstart&.to_time&.utc
4747
tzid = dtstart.ical_params['tzid']
4848
event.timezone = tzid.first.to_s if !tzid.nil? && tzid.size.positive?
4949
end

0 commit comments

Comments
 (0)