Skip to content

Commit

Permalink
adjust to fixed server-side date format
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiritQuaddicted committed Feb 28, 2021
1 parent fb089bf commit f62619d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/de/haukerehfeld/quakeinjector/PackageDatabaseParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,6 @@ public static Date parseDate(String date) {
int day = Integer.parseInt(components[0]);
int month = Integer.parseInt(components[1]) - 1;
int year = Integer.parseInt(components[2]);
if (year < 60) {
year += 2000;
}
else {
year += 1900;
}
return new GregorianCalendar(year, month, day).getTime();
}
}
}

0 comments on commit f62619d

Please sign in to comment.