TimeTracking: Return shortened weekdays in doneEstimates

This commit is contained in:
loldudester
2021-02-09 21:31:16 +00:00
parent 7656cafc70
commit bfc9af5526

View File

@@ -77,7 +77,7 @@ public abstract class TabContentPanel extends JPanel
LocalDateTime currentTime = LocalDateTime.now();
if (endTime.getDayOfWeek() != currentTime.getDayOfWeek())
{
sb.append(endTime.getDayOfWeek().getDisplayName(TextStyle.FULL, Locale.getDefault())).append(" ");
sb.append(endTime.getDayOfWeek().getDisplayName(TextStyle.SHORT, Locale.getDefault())).append(" ");
}
sb.append("at ");
sb.append(formatter.format(endTime));