Description
Temporal Coverage for a dataset with discrete year (example: 2010,2011,2013,2014,2015,2016,2017,2019,2020,2021) is currently represented as Comma Separated String and looks like in the below image:

But what we aim for better representation is to have list of year in continuous fashion as : 2010-11, 2013-17 and 2019-2021
Task
All the Temporal Coverage code is present inside app > utils > temporal_coverage.py. Go through the existing code and logic that gets temporal coverage and then modify accordingly and Test for all possible cases.
Description
Temporal Coverage for a dataset with discrete year (example: 2010,2011,2013,2014,2015,2016,2017,2019,2020,2021) is currently represented as Comma Separated String and looks like in the below image:
But what we aim for better representation is to have list of year in continuous fashion as : 2010-11, 2013-17 and 2019-2021
Task
All the Temporal Coverage code is present inside
app > utils > temporal_coverage.py. Go through the existing code and logic that gets temporal coverage and then modify accordingly and Test for all possible cases.