Skip to content

Commit

Permalink
change year formatting to 4 digit to avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
Smullz622 committed Dec 12, 2024
1 parent b284537 commit bf74190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/importers/com_data/com_effort_xml_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def build_xml_effort(batch)
batch.each do |faculty|
xml.Record('PennStateHealthUsername' => faculty.com_id) do
faculty.com_efforts.each do |com_effort|
event_date = Date.strptime(com_effort.event_date, '%m/%d/%Y')
event_date = Date.strptime(com_effort.event_date, '%m/%d/%y')
xml.INSTRUCT_TAUGHT do
xml.COURSE_YEAR_ com_effort.course_year, access: 'READ_ONLY'
xml.COURSE_TITLE_ com_effort.course, access: 'READ_ONLY'
Expand Down

0 comments on commit bf74190

Please sign in to comment.