Skip to content

Commit

Permalink
adjusted space in name
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioG70 committed Sep 9, 2024
1 parent 0dc3439 commit de7ff78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ protected DatabaseStructure getDatabaseStructure(SiardDiark siardArchive, Archiv
protected void setDatabaseMetadata(DatabaseStructure databaseStructure, ArchiveIndex archiveIndex) {
String[] informationPackageIdSPlit = archiveIndex.getArchiveInformationPackageID().split("\\.");
String id = informationPackageIdSPlit[informationPackageIdSPlit.length - 1];
databaseStructure.setName(id + ":" + archiveIndex.getSystemName());
databaseStructure.setName(id + ": " + archiveIndex.getSystemName());
DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd");
DateTime formattedDate = formatter.parseDateTime(archiveIndex.getArchivePeriodEnd());
databaseStructure.setArchivalDate(formattedDate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ protected DatabaseStructure getDatabaseStructure(SiardDiark siardArchive, Archiv
protected void setDatabaseMetadata(DatabaseStructure databaseStructure, ArchiveIndex archiveIndex) {
String[] informationPackageIdSPlit = archiveIndex.getArchiveInformationPackageID().split("\\.");
String id = informationPackageIdSPlit[informationPackageIdSPlit.length - 1];
databaseStructure.setName(id + ":" + archiveIndex.getSystemName());
databaseStructure.setName(id + ": " + archiveIndex.getSystemName());
DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd");
DateTime formattedDate = formatter.parseDateTime(archiveIndex.getArchivePeriodEnd());
databaseStructure.setArchivalDate(formattedDate);
Expand Down

0 comments on commit de7ff78

Please sign in to comment.