Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`../../localization/index.cjs`);function t(t,n=null){return new Intl.DateTimeFormat(n||e.DialtoneLocalization.getPreferredLocale(),{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`}).format(t)}function n(t,n=null){return new Intl.DateTimeFormat(n||e.DialtoneLocalization.getPreferredLocale(),{year:`numeric`,month:`long`,day:`numeric`}).format(t)}function r(t,n=null,r=!0){let i=r?{weekday:`short`,year:`numeric`,month:`short`,day:`numeric`}:{year:`numeric`,month:`short`,day:`numeric`};return new Intl.DateTimeFormat(n||e.DialtoneLocalization.getPreferredLocale(),i).format(t)}function i(t,n=null,r=!1){let i=r?`short`:`long`;return new Intl.DateTimeFormat(n||e.DialtoneLocalization.getPreferredLocale(),{month:i,day:`numeric`}).format(t)}function a(t,n=null){return new Intl.DateTimeFormat(n||e.DialtoneLocalization.getPreferredLocale(),{year:`2-digit`,month:`2-digit`,day:`2-digit`}).format(t)}var o={formatLong:t,formatMedium:n,formatShort:r,formatNoYear:i,formatNumerical:a};exports.default=o,exports.formatLong=t,exports.formatMedium=n,exports.formatNoYear=i,exports.formatNumerical=a,exports.formatShort=r;
//# sourceMappingURL=formatUtils.cjs.map