Skip to content

Commit

Permalink
Merge pull request #5638 from matthias-ronge/issue-4824
Browse files Browse the repository at this point in the history
Create newspaper processes in the correct year
  • Loading branch information
solth authored May 22, 2023
2 parents bda8995 + 93d186e commit ef958e7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ public class IndividualIssue {
private static final DateTimeFormatter MONTH = DateTimeFormatter.ofPattern("MM");

/**
* The constant YEAR2 holds a DateTimeFormatter used to get the a four-digit
* The constant YEAR2 holds a DateTimeFormatter used to get the a two-digit
* year of era (00—99, always positive) from the newspaper’s date.
*/
private static final DateTimeFormatter YEAR2 = DateTimeFormatter.ofPattern("YY");
private static final DateTimeFormatter YEAR2 = DateTimeFormatter.ofPattern("yy");

/**
* The constant YEAR4 holds a DateTimeFormatter used to get the a four-digit
* year of era (0001—9999, always positive) from the newspaper’s date.
*/
private static final DateTimeFormatter YEAR4 = DateTimeFormatter.ofPattern("YYYY");
private static final DateTimeFormatter YEAR4 = DateTimeFormatter.ofPattern("yyyy");

/**
* Metadata key to store the sorting number.
Expand Down

0 comments on commit ef958e7

Please sign in to comment.