diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a0cf3a2d6d..b4a9c21d2ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve ### Changed - The content of the field `timestamp` is migrated to `creationdate`. In case one configured "udpate timestampe", it is migrated to `modificationdate`. [koppor#130](https://github.com/koppor/jabref/issues/130) +- The export to MS Office XML now uses the month name for the field `MonthAcessed` instead of the two digit number [#7354](https://github.com/JabRef/jabref/issues/7354) ### Fixed diff --git a/src/main/java/org/jabref/logic/msbib/MSBibEntry.java b/src/main/java/org/jabref/logic/msbib/MSBibEntry.java index 43e7435896d..5a39832fa49 100644 --- a/src/main/java/org/jabref/logic/msbib/MSBibEntry.java +++ b/src/main/java/org/jabref/logic/msbib/MSBibEntry.java @@ -344,7 +344,7 @@ private void addDateAcessedFields(Document document, Element rootNode) { }); parsedDateAcesseField.flatMap(Date::getMonth) - .map(Month::getTwoDigitNumber).ifPresent(monthAcessed -> { + .map(Month::getFullName).ifPresent(monthAcessed -> { addField(document, rootNode, "Month" + "Accessed", monthAcessed); }); parsedDateAcesseField.flatMap(Date::getDay).map(Object::toString).ifPresent(dayAccessed -> { diff --git a/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTest1.xml b/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTest1.xml index 0f6ca092a58..76236c5ac9c 100644 --- a/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTest1.xml +++ b/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTest1.xml @@ -26,7 +26,7 @@ 5 1000 2015 - 10 + October 12 unpublished diff --git a/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTestDateAcessed.xml b/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTestDateAcessed.xml index d77676b0654..4db29dcbe3d 100644 --- a/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTestDateAcessed.xml +++ b/src/test/resources/org/jabref/logic/exporter/MsBibExportFormatTestDateAcessed.xml @@ -8,7 +8,7 @@ Test Testa 2015 - 12 + December 12 diff --git a/src/test/resources/org/jabref/logic/exporter/MsBibUrlDate.xml b/src/test/resources/org/jabref/logic/exporter/MsBibUrlDate.xml index 0ccc4234dd0..4333908bb80 100644 --- a/src/test/resources/org/jabref/logic/exporter/MsBibUrlDate.xml +++ b/src/test/resources/org/jabref/logic/exporter/MsBibUrlDate.xml @@ -11,7 +11,7 @@ CEUR-WS.org http://ceur-ws.org/Vol-438 2021 - 01 + January 4