import { FrontendLocaleData } from "../types" ; param dateObj param locale returns export const formatDateWeekday = ( dateObj , locale ) => formatDateWeekdayMem ( locale ) . format ( dateObj ) ; const formatDateWeekdayMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { weekday : "long" , month : "long" , day : "numeric" , } ) ; param dateObj param locale returns export const formatDate = ( dateObj , locale ) => formatDateMem ( locale ) . format ( dateObj ) ; const formatDateMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { year : "numeric" , month : "long" , day : "numeric" , } ) ; param dateObj param locale returns export const formatDateNumeric = ( dateObj , locale ) => formatDateNumericMem ( locale ) . format ( dateObj ) ; const formatDateNumericMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { year : "numeric" , month : "numeric" , day : "numeric" , } ) ; param dateObj param locale returns export const formatDateShort = ( dateObj , locale ) => formatDateShortMem ( locale ) . format ( dateObj ) ; const formatDateShortMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { day : "numeric" , month : "short" , } ) ; param dateObj param locale returns export const formatDateMonthYear = ( dateObj , locale ) => formatDateMonthYearMem ( locale ) . format ( dateObj ) ; const formatDateMonthYearMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { month : "long" , year : "numeric" , } ) ; param dateObj param locale returns export const formatDateMonth = ( dateObj , locale ) => formatDateMonthMem ( locale ) . format ( dateObj ) ; const formatDateMonthMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { month : "long" , } ) ; param dateObj param locale returns export const formatDateYear = ( dateObj , locale ) => formatDateYearMem ( locale ) . format ( dateObj ) ; const formatDateYearMem = ( locale ) => new Intl . DateTimeFormat ( locale . language , { year : "numeric" , } ) ;