Skip to content

Commit

Permalink
Make comment more precise #2125
Browse files Browse the repository at this point in the history
As suggested by reviewer

Co-authored-by: Pascal Christoph <[email protected]>
  • Loading branch information
TobiasNx and dr0i authored Jan 16, 2025
1 parent 4c4a513 commit 0fdb861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/describedBy.fix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ end

if any_match("@initialCataloguingDate","^[0-4]\\d(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])") # Assume dates from 2000-01-01 to 2049-12-31 ( e.g. matching 491231)
prepend("@initialCataloguingDate","20")
elsif any_match("@initialCataloguingDate","\\d{2}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])") # Complete dates before 2000
elsif any_match("@initialCataloguingDate","\\d{2}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])") # Assume dates from 1900-01-01 to 1999-12-31 ( e.g. matching 991231)
prepend("@initialCataloguingDate","19")
else
copy_field("MNG .b","@initialCataloguingDate")
Expand Down

0 comments on commit 0fdb861

Please sign in to comment.