MCPcopy
hub / github.com/date-fns/date-fns / thisWeek

Function thisWeek

pkgs/core/src/locale/sk/_lib/formatRelative/index.ts:32–40  ·  view source on GitHub ↗
(day: Day)

Source from the content-addressed store, hash-verified

30}
31
32function thisWeek(day: Day) {
33 const weekday = accusativeWeekdays[day];
34
35 if (day === 4 /* Thu */) {
36 return "'vo' eeee 'o' p";
37 } else {
38 return "'v " + weekday + " o' p";
39 }
40}
41
42function nextWeek(day: Day) {
43 const weekday = accusativeWeekdays[day];

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected