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

Function thisWeek

pkgs/core/src/locale/mk/_lib/formatRelative/index.ts:34–48  ·  view source on GitHub ↗
(day: Day)

Source from the content-addressed store, hash-verified

32}
33
34function thisWeek(day: Day): string {
35 const weekday = weekdays[day];
36
37 switch (day) {
38 case 0:
39 case 3:
40 case 6:
41 return "'ова " + weekday + " вo' p";
42 case 1:
43 case 2:
44 case 4:
45 case 5:
46 return "'овој " + weekday + " вo' p";
47 }
48}
49
50function nextWeek(day: Day): string {
51 const weekday = weekdays[day];

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected