(now: Date)
| 18 | } |
| 19 | |
| 20 | export const getPatchyDayKey = (now: Date): string => |
| 21 | `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}`; |
| 22 | |
| 23 | export const createPatchyDay = (now: Date): PatchyDay => ({ |
| 24 | day: getPatchyDayKey(now), |
no outgoing calls
no test coverage detected