(el: RelativeTimeElement)
| 69 | } |
| 70 | |
| 71 | function getExplicitThreshold(el: RelativeTimeElement): string | null { |
| 72 | const threshold = el.getAttribute('threshold') |
| 73 | return threshold && isDuration(threshold) ? threshold : null |
| 74 | } |
| 75 | |
| 76 | // Determine whether the user has a 12 (vs. 24) hour cycle preference via the |
| 77 | // browser's resolved DateTimeFormat options. |
no test coverage detected
searching dependent graphs…