mirror of
https://github.com/XFox111/TabsAsideExtension.git
synced 2026-04-22 07:58:01 +03:00
!feat: major 3.0 release candidate
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { CollectionItem } from "@/models/CollectionModels";
|
||||
|
||||
export function getCollectionTitle(collection?: CollectionItem): string
|
||||
{
|
||||
return collection?.title
|
||||
|| new Date(collection?.timestamp ?? Date.now())
|
||||
.toLocaleDateString(browser.i18n.getUILanguage(), { year: "numeric", month: "short", day: "numeric" });
|
||||
}
|
||||
Reference in New Issue
Block a user