@zag-js/date-utils
Version:
Date utilities for zag.js
7 lines (4 loc) • 339 B
text/typescript
import { DateValue, DateFormatter } from '@internationalized/date';
declare function getDayFormatter(locale: string, timeZone: string, referenceDate?: DateValue): DateFormatter;
declare function getMonthFormatter(locale: string, timeZone: string, referenceDate?: DateValue): DateFormatter;
export { getDayFormatter, getMonthFormatter };