Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eckermania committed May 1, 2024
1 parent 268396d commit 857c7a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ export default {
},
addFileReportDateWarning(fileDate, fileName) {
let formattedFileDate = LocalDate.parse(fileDate.substring(0,19), DateTimeFormatter.ofPattern('uuuuMMdd'));
if(formattedFileDate.isBefore(this.collectionOpenDate().minusDays(30)) || this.formattedFileDate.isAfter(this.collectionCloseDate().plusDays(30))){
if(formattedFileDate.isBefore(this.collectionOpenDate().minusDays(30)) || formattedFileDate.isAfter(this.collectionCloseDate().plusDays(30))){
let message = "The date in the " + fileName + " file is " + formattedFileDate + ". Please ensure that you have uploaded the correct data for this collection before continuing."
this.fileDateWarningErrorMessages.push(message);
}
Expand Down

0 comments on commit 857c7a3

Please sign in to comment.