mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
6 lines
138 B
Ruby
6 lines
138 B
Ruby
module OverviewHelper
|
||
def format_academic_year(ay)
|
||
years = ay.range.split('-')
|
||
"#{years.first} – 20#{years.second}"
|
||
end
|
||
end
|