But then the filenames look like
ntrips_ebike_purpose_202011prepilot.png
instead of
ntrips_ebike_purpose_2020_11_prepilot.png
Fixing this by prepending - to the components, which then means that we have
to remove the trailing _ from all filenames to avoid getting
ntrips_ebike_purpose__2020_11_prepilot.png
When we refactored the filename code as part of https://github.com/e-mission/em-public-dashboard/commit/5a9264e72fe106395054a7d7e2e388672633123c we removed the
_
But then the filenames look like ntrips_ebike_purpose_202011prepilot.png instead of ntrips_ebike_purpose_2020_11_prepilot.png
Fixing this by prepending
-
to the components, which then means that we have to remove the trailing_
from all filenames to avoid getting ntrips_ebike_purpose__2020_11_prepilot.png