MCPcopy Create free account
hub / github.com/DIYgod/RSSHub / p

Function p

lib/utils/parse-date.test.ts:33–33  ·  view source on GitHub ↗
(str: string, ...opts: any[])

Source from the content-addressed store, hash-verified

31 const LAST_FRIDAY = new Date('2026-01-30T00:00:00').getTime(); // Last Friday (Jan 30)
32
33 const p = (str: string, ...opts: any[]) => parseRelativeDate(str, ...opts).getTime();
34
35 beforeEach(() => {
36 MockDate.set(NOW_TIMESTAMP);

Callers 2

parse-date.test.tsFile · 0.85
detailPageFunction · 0.85

Calls 1

parseRelativeDateFunction · 0.90

Tested by

no test coverage detected