(hour: number)
| 146 | * @returns `pm` if the hour is greater than or equal to 12, `am` if less than 12. |
| 147 | */ |
| 148 | export const parseAmPm = (hour: number) => { |
| 149 | return hour >= 12 ? 'pm' : 'am'; |
| 150 | }; |
| 151 | |
| 152 | /** |
| 153 | * Takes a max date string and creates a DatetimeParts |
no outgoing calls
no test coverage detected