(date: Date)
| 16 | const oneMonth = 30 * oneDay; |
| 17 | export const oneYear = oneDay * 365; |
| 18 | export const isValidDate = (date: Date): boolean => |
| 19 | !Number.isNaN(date.getTime()); |
| 20 | |
| 21 | // Reads an ISO day stamp persisted through `usePersistentContext`, the |
| 22 | // once-per-day guard idiom shared by the quest offers popup and the reading |
no outgoing calls
no test coverage detected