fix year being incorrect

This commit is contained in:
ljcool2006
2023-12-31 13:21:35 -05:00
committed by Jindra Petřík
parent 61f15dce8f
commit 22b3d7d347

View File

@@ -238,7 +238,7 @@ public class ErrorLogFrame extends AppFrame {
if (View.isOceanic()) {
header.setBackground(Color.white);
}
SimpleDateFormat format = new SimpleDateFormat("dd/MM/YYYY HH:mm:ss");
SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
final String dateStr = format.format(new Date());
JToggleButton copyButton = new JToggleButton(View.getIcon("copy16"));