var e=`medium`,t={dateStyle:e,timeStyle:`short`};({...t});function n(e){return typeof e==`string`?new Date(e):e}function r(t,r,i=e){return new Intl.DateTimeFormat(r,{dateStyle:i}).format(n(t))}function i(e,r,i){return new Intl.DateTimeFormat(r,i??t).format(n(e))}export{i as n,r as t};