Commit b47e5386 authored by Zac Wood's avatar Zac Wood

Added instructor name to description in calendar export

parent a91e1cac
Pipeline #3506 passed with stage
in 2 minutes and 19 seconds
......@@ -41,7 +41,7 @@ class Schedule
event = Icalendar::Event.new
event.summary = section.name
event.description = section.title
event.description = "#{section.title}\nTaught by #{section.instructor.name}"
event.location = section.location
event.dtstart = Icalendar::Values::DateTime.new(formatted_datetime_str(section.start_date, section.start_time))
event.dtend = Icalendar::Values::DateTime.new(formatted_datetime_str(section.start_date, section.end_time))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment