Merge pull request #13191 from loldudester/shorten-farming-estimate

TimeTracking: Return shortened weekdays in doneEstimates
This commit is contained in:
Abex
2021-02-09 22:32:44 -07:00
committed by GitHub

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));