π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix
Manav Rathi3734a5071379
diff --git a/web/packages/shared/time/format.ts b/web/packages/shared/time/format.tsindex bc17d6c2fa..47a187093b 100644--- a/web/packages/shared/time/format.ts+++ b/web/packages/shared/time/format.ts@@ -21,7 +21,7 @@ const timeFormatter = new Intl.DateTimeFormat(i18n.language, {timeStyle: "short",});-export function formatDateFull(date: number | Date) {+function formatDateFull(date: number | Date) {return [dateTimeFullFormatter1, dateTimeFullFormatter2].map((f) => f.format(date)).join(" ");@@ -32,7 +32,7 @@ export function formatDate(date: number | Date) {new Date().getFullYear() === new Date(date).getFullYear();const dateTimeFormat2 = !withinYear ? dateTimeFullFormatter2 : null;return [dateTimeFullFormatter1, dateTimeFormat2]- .filter((f) => !!f)+ .filter((f): f is Intl.DateTimeFormat => !!f).map((f) => f.format(date)).join(" ");}