removed call to Locale#setDefault within LocaleLoader#initialize; added static locale-parameter to all instances of a Formatter (#5141)

This commit is contained in:
Philip Hell
2025-01-25 23:24:02 +01:00
committed by GitHub
parent dab4e777ce
commit b36848bd47
8 changed files with 22 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ public class CleanBackupsTask extends CancellableRunnable {
}
private Date getDate(String fileName) {
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH-mm-ss");
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH-mm-ss", Locale.US);
Date date;
try {