bondjimbond / islandora_metadata_extras

Islandora utility module that provides some options for customizing metadata display and generation.
GNU General Public License v3.0
6 stars 2 forks source link

fixed bug related to month not being 0 indexed #42

Open davidbasswwu opened 3 years ago

davidbasswwu commented 3 years ago

Github issue

https://github.com/bondjimbond/islandora_metadata_extras/issues/41

What does this Pull Request do?

Subtracts one from the month in the YYYY-MM datePattern section so that the month is zero indexed.

How should this be tested?

With this module enabled, and the "Replace yyyy-mm-dd and yyyy-mm dates in object metadata displays with human-readable equivalents." option enabled, view an item that has YYYY-MM metadata and make sure it converts it to the correct human-readable equivalent.