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

Function lastWeek

pkgs/core/src/locale/it/_lib/formatRelative/index.ts:17–24  ·  view source on GitHub ↗
(day: number)

Source from the content-addressed store, hash-verified

15];
16
17function lastWeek(day: number): string {
18 switch (day) {
19 case 0:
20 return "'domenica scorsa alle' p";
21 default:
22 return "'" + weekdays[day] + " scorso alle' p";
23 }
24}
25
26function thisWeek(day: number): string {
27 return "'" + weekdays[day] + " alle' p";

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected