Closed nbusseneau closed 3 years ago
I needed URLs to look like archives_month:2020_09
rather than archives_month:sep_2020
for URL rewrite purposes, and thought this might be interesting.
If this MR is accepted, I am willing to update archives.html.twig
in Quark theme accordingly.
@rhukster Can you take a look?
looks good to me, nicely backward compatible as it falls back to the existing hardcoded values if not set.
Allow users to customize taxonomy value dates form (and thus, indirectly, URLs), akin to taxonomy names customization.
Non-breaking change: defaults to previous behavior.