feat(frontend): profile panel about one person with real changes, shared groups, joins and leaves and deleted messages
This commit is contained in:
1 parent
c8d485fe0e
commit
143408cd7f
12 files changed
+899
-244
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { locale } from "#lib/i18n/locale.svelte.js";
|
||||
|
||||
const OPTIONS = {
|
||||
date: { day: "numeric", month: "short", year: "numeric" },
|
||||
day: { day: "numeric", month: "short" },
|
||||
full: {
|
||||
day: "numeric",
|
||||
@@ -38,6 +39,10 @@ export function formatDay(iso: string): string {
|
||||
return format("day", new Date(iso));
|
||||
}
|
||||
|
||||
export function formatDate(iso: string): string {
|
||||
return format("date", new Date(iso));
|
||||
}
|
||||
|
||||
export function formatFull(iso: string): string {
|
||||
return format("full", new Date(iso));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user