import {g,eb as an,dA as qb,eY as oi}from'./main-DEZ5cZzu.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 qb(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:c8855ca17fb20171aa9dd43d012e42547cb1f0cfd9c21d4dc05679bbbdf5ccb8*/export{p};//# sourceMappingURL=chunk-DA9ZLNDO.js.map
