Islandora / controlled_access_terms

Drupal module for subject and agents
GNU General Public License v2.0
7 stars 30 forks source link

Allow year and month to be hidden when displaying EDTF dates #75

Closed seth-shaw-unlv closed 2 years ago

seth-shaw-unlv commented 2 years ago

GitHub Issue: N/A

What does this Pull Request do?

Allow year and month to be hidden when displaying EDTF dates. Taken from Born-Digital's updates to carapace. They used it for the newspaper view; this PR pulls in these nice additions for those not using carapace.

What's new?

A in-depth description of the changes made by this PR. Technical details and possible side effects.

How should this be tested?

Interested parties

@Islandora/8-x-committers and @noahwsmith

noahwsmith commented 2 years ago

cc @dannylamb for comment and code review. Seth and I talked about this last week and I suggested he extract this from our install-profile if it seemed more broadly usable 👍