import{Wa as g,X as ES,qo as mn,sc as ui}from"./chunk-B_pj7Jpm.js";var s=class i{angularPipe;customLocaleId;constructor(){let t=g(mn);navigator.language.includes(`-`)&&navigator.language.split(`-`)[0]===t.split(`-`)[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new ES(t)}transform(t,e){return e===`short`?new Date(t).toLocaleString(this.customLocaleId):e===`shortDate`?new Date(t).toLocaleDateString(this.customLocaleId):this.angularPipe.transform(t,e)}static ɵfac=function(e){return new(e||i)};static ɵpipe=ui({name:`ptDate`,type:i,pure:!0})};export{s as t};
//# debugId=124bd3f3-5a2c-5a49-9744-ed9e51782d1f
//# sourceMappingURL=chunk-DVjyCVai.js.map