Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Fix expiry date in link settings

Manav Rathi80ea75e2d22b
diff --git a/web/apps/photos/src/components/Collections/CollectionShare.tsx b/web/apps/photos/src/components/Collections/CollectionShare.tsx
index 540330ff51..6f31a308bd 100644
--- a/web/apps/photos/src/components/Collections/CollectionShare.tsx
+++ b/web/apps/photos/src/components/Collections/CollectionShare.tsx
@@ -1526,9 +1526,7 @@ const ManageLinkExpiry: React.FC<ManageLinkExpiryProps> = ({
isLinkExpired(publicShareProp?.validTill)
? t("link_expired")
: publicShareProp?.validTill
- ? formattedDateTime(
- publicShareProp.validTill / 1000,
- )
+ ? formattedDateTime(publicShareProp.validTill)
: t("never")
}
/>