Skip to content

Commit

Permalink
JabRef#8491 : Change changelog message and update method description
Browse files Browse the repository at this point in the history
  • Loading branch information
addak committed Mar 4, 2022
1 parent 2cf44b4 commit 7345b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
- We moved the search box in preview preferences closer to the available citation styles list. [#8370](https://github.com/JabRef/jabref/pull/8370)
- Changing the preference to show the preview panel as a separate tab now has effect without restarting JabRef. [#8370](https://github.com/JabRef/jabref/pull/8370)
- We enabled switching themes in JabRef without the need to restart JabRef. [#7335](https://github.com/JabRef/jabref/pull/7335)
- We added support for Day Field during XMP (DCSchema) -> BibTex Conversion
- We added support for the field `day`, `rights`, `coverage` and `language` when reading XMP data in Dublin Core format[#8491](https://github.com/JabRef/jabref/issues/8491)

### Fixed

Expand Down
7 changes: 1 addition & 6 deletions src/main/java/org/jabref/logic/xmp/DublinCoreExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,7 @@ private void extractAuthor() {
}

/**
* Year in BibTex - Date in DublinCore is only the year information, because dc interprets empty months as January.
* Tries to extract the month as well. In JabRef the bibtex/month/value is prioritized. <br/> The problem is the
* default value of the calendar, which is always January, also if there is no month information in the xmp metdata.
* The idea is, to reject all information with YYYY-01-01. In cases, where xmp is written with JabRef the month
* property filled with jan will override this behavior and no data is lost. In the cases, where xmp is written by
* another service, the assumption is, that the 1st January is not a publication date at all.
* Bibtex-Fields : year, [month], [day] - 'dc:date' in DublinCore
*/
private void extractDate() {
List<String> dates = dcSchema.getUnqualifiedSequenceValueList("date");
Expand Down

0 comments on commit 7345b32

Please sign in to comment.