MCPcopy
hub / github.com/palantir/blueprint / formatDate

Method formatDate

packages/datetime/src/dateInput.tsx:482–488  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

480 }
481
482 private formatDate(date: Date): string {
483 if (!isDateValid(date) || !this.isDateInRange(date)) {
484 return "";
485 }
486 const { locale, formatDate } = this.props;
487 return formatDate(date, locale);
488 }
489}

Callers 1

DateInputClass · 0.95

Calls 2

isDateInRangeMethod · 0.95
isDateValidFunction · 0.90

Tested by

no test coverage detected