Skip to content
Snippets Groups Projects
Commit 12bb03c6 authored by Erik Diers's avatar Erik Diers
Browse files

Fixed Record date bug

parent 8a4287f5
Branches main
No related tags found
No related merge requests found
No preview for this file type
......@@ -242,9 +242,9 @@ public class Main {
String header = xlsxReader.getColumnHead(i);
if (header.startsWith(XLSX_SESSION_PREFIX)) {
if (header.endsWith("" + String.format("%02d", currentSession))) { //Identifies the current session. This breaks in case of more than 9 sessions. But this wont happen.
obj.put("Record date", currentRow[i]);
obj.put("DataCite-Date", currentRow[i]);
obj.put("DublinCore-Date", currentRow[i]);
header = SFB_RECORD_DATE;
}else
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment