Show counts on entity list tabs (#2169)

This commit is contained in:
kermieisinthehouse
2022-01-03 19:04:50 -08:00
committed by GitHub
parent 849c590b2a
commit 90a4931bdc
6 changed files with 150 additions and 18 deletions

View File

@@ -117,7 +117,7 @@ export const SettingsServicesPanel: React.FC = () => {
function renderDeadline(until?: string) {
if (until) {
const deadline = new Date(until);
return `until ${deadline.toLocaleString()}`;
return `until ${intl.formatDate(deadline)}`;
}
return "";