MCPcopy Create free account
hub / github.com/AnswerOverflow/AnswerOverflow / getDate

Function getDate

packages/core/src/sitemap.ts:73–75  ·  view source on GitHub ↗
(snowflake: Snowflake)

Source from the content-addressed store, hash-verified

71 return Number((BigInt(snowflake) >> BigInt(22)) + EPOCH);
72}
73export function getDate(snowflake: Snowflake) {
74 return new Date(getTimestamp(snowflake));
75}
76export async function generateSitemap() {
77 let hasMore;
78 let offset = 0;

Callers 2

generateSitemapFunction · 0.70

Calls 1

getTimestampFunction · 0.70

Tested by

no test coverage detected