(day: number)
| 15 | ]; |
| 16 | |
| 17 | function 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 | |
| 26 | function thisWeek(day: number): string { |
| 27 | return "'" + weekdays[day] + " alle' p"; |