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

Function thisWeek

pkgs/core/src/locale/ru/_lib/formatRelative/index.ts:35–43  ·  view source on GitHub ↗
(day: Day)

Source from the content-addressed store, hash-verified

33}
34
35function thisWeek(day: Day) {
36 const weekday = accusativeWeekdays[day];
37
38 if (day === 2 /* Tue */) {
39 return "'во " + weekday + " в' p";
40 } else {
41 return "'в " + weekday + " в' p";
42 }
43}
44
45function nextWeek(day: Day) {
46 const weekday = accusativeWeekdays[day];

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected