MCPcopy Create free account
hub / github.com/refined-github/refined-github / wasLongAgo

Function wasLongAgo

source/features/netiquette.tsx:41–43  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

39const threeMonths = toMilliseconds({days: 90});
40
41export function wasLongAgo(date: Date): boolean {
42 return (Date.now() - date.getTime()) > threeMonths;
43}
44
45function isPopular(): boolean {
46 return (

Callers 2

addConversationBannerFunction · 0.85
initBannerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected