MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / parseSlackSentAt

Function parseSlackSentAt

packages/serializers/src/sentAt.ts:1–3  ·  view source on GitHub ↗
(ts: string)

Source from the content-addressed store, hash-verified

1export function parseSlackSentAt(ts: string) {
2 return new Date(parseFloat(ts) * 1000).getTime();
3}
4
5export function parseDiscordSentAt(ts: string) {
6 return new Date(ts).getTime();

Callers 5

sentAt.test.tsFile · 0.90
saveMessagesSynchronousFunction · 0.90
saveMessagesTransactionFunction · 0.90
addMessageFunction · 0.90
changeMessageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected