High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): Implemented device last seen date and time with user locale support (#7863)
DeclanE412c9bc76dd2
diff --git a/web/src/lib/components/user-settings-page/device-card.svelte b/web/src/lib/components/user-settings-page/device-card.svelteindex 5395ae43f4..64f17ad9e5 100644--- a/web/src/lib/components/user-settings-page/device-card.svelte+++ b/web/src/lib/components/user-settings-page/device-card.svelte@@ -28,7 +28,6 @@</script><div class="flex w-full flex-row">- <!-- TODO: Device Image --><div class="hidden items-center justify-center pr-2 text-immich-primary dark:text-immich-dark-primary sm:flex">{#if device.deviceOS === 'Android'}<Icon path={mdiAndroid} size="40" />@@ -58,6 +57,10 @@<div class="text-sm"><span class="">Last seen</span><span>{DateTime.fromISO(device.updatedAt, { locale: $locale }).toRelativeCalendar(options)}</span>+ <span class="text-xs text-gray-500 dark:text-gray-400"> - </span>+ <span class="text-xs text-gray-500 dark:text-gray-400">+ {DateTime.fromISO(device.updatedAt, { locale: $locale }).toLocaleString(DateTime.DATETIME_MED)}+ </span></div></div>{#if !device.current}