import {g,en as an,dA as Wb,eX as oi}from'./main-sJAtkqeq.js';var p=(()=>{class a{angularPipe;customLocaleId;constructor(){let t=g(an);navigator.language.includes("-")&&navigator.language.split("-")[0]===t.split("-")[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new Wb(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 \u0275fac=function(e){return new(e||a)};static \u0275pipe=oi({name:"ptDate",type:a,pure:true})}return a})();/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{p};//# sourceMappingURL=chunk-BNGsiHsg.js.map
