Use lib version of date functions

This commit is contained in:
Jon Staab
2025-05-05 10:11:02 -07:00
parent 5873e8aa60
commit c1b52b66ff
21 changed files with 221 additions and 150 deletions
+2 -9
View File
@@ -1,14 +1,7 @@
<script lang="ts">
import {hash, now} from "@welshman/lib"
import {hash, now, formatTimestampAsTime, formatTimestampAsDate} from "@welshman/lib"
import type {TrustedEvent} from "@welshman/util"
import {
thunks,
pubkey,
formatTimestampAsDate,
formatTimestampAsTime,
deriveProfile,
deriveProfileDisplay,
} from "@welshman/app"
import {thunks, pubkey, deriveProfile, deriveProfileDisplay} from "@welshman/app"
import {isMobile} from "@lib/html"
import TapTarget from "@lib/components/TapTarget.svelte"
import Avatar from "@lib/components/Avatar.svelte"