Revision 53616
Added by Giorgos Papanikos over 5 years ago
DatasetMappingIterator.java | ||
---|---|---|
325 | 325 |
List<LocalDate> createdDates = new ArrayList<>(); |
326 | 326 |
if(this.options.getCreatedDateOptions() == null || this.options.getCreatedDateOptions().format == null || this.options.getCreatedDateOptions().format.length() == 0) return createdDates; |
327 | 327 |
|
328 |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(this.options.getPublicationDateOptions().format);
|
|
328 |
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(this.options.getCreatedDateOptions().format);
|
|
329 | 329 |
|
330 | 330 |
List<String> dates = JSONLDUtils.extractString(document, "dateCreated"); |
331 | 331 |
for(String createdDate : dates){ |
Also available in: Unified diff
Corrected Creation Date format