* @protected
()
| 474 | * @protected |
| 475 | */ |
| 476 | get _formatPattern() { |
| 477 | const hasHours = !!this.formatPattern?.match(/H/i); |
| 478 | const fallback = !this.formatPattern || !hasHours; |
| 479 | |
| 480 | const localeData = getCachedLocaleDataInstance(getLocale()); |
| 481 | return fallback ? localeData.getTimePattern("medium") : this.formatPattern; |
| 482 | } |
| 483 | |
| 484 | get _displayFormat() { |
| 485 | if (this.displayFormat) { |
nothing calls this directly
no test coverage detected