(date: string)
| 33 | |
| 34 | // "Monday, Nov 9": the day the weekly run builds the next intel |
| 35 | export const getIntelDayLabel = (date: string): string => |
| 36 | new Date(date).toLocaleDateString('en-US', { |
| 37 | weekday: 'long', |
| 38 | month: 'short', |
| 39 | day: 'numeric', |
| 40 | timeZone: 'UTC', |
| 41 | }); |
| 42 | |
| 43 | // "Oct 26 to Nov 1": the week ends the Monday after, so the last day is the |
| 44 | // Sunday before it |
no outgoing calls
no test coverage detected