mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(desktop): bundled renderer, modules and instance accounts (#3254)
This commit is contained in:
1 parent
c748c8af4e
commit
7c5fa2180a
1275 files changed
+215074
-81246
No files matched your search
@@ -116,11 +116,3 @@ export function getRelativeDateString(
|
||||
hour12: use12Hour,
|
||||
}).format(date);
|
||||
}
|
||||
|
||||
export function formatLastActive(date: DateInput, locale: string = DEFAULT_LOCALE): string {
|
||||
const dateObj = parseDate(date);
|
||||
if (Number.isNaN(dateObj.getTime())) {
|
||||
return String(date);
|
||||
}
|
||||
return getDateFormatter(locale, {dateStyle: 'medium', timeStyle: 'short'}).format(dateObj);
|
||||
}
|
||||
Reference in new issue
Block a user