import{Pc as c,Va as n,aa as o,qc as s}from"./chunk-PXFCSR5K.js";import{i}from"./chunk-DOSG2ZAB.js";var m=(()=>{let e=class e{angularPipe;customLocaleId;constructor(){let t=o(s);navigator.language.includes("-")&&navigator.language.split("-")[0]===t.split("-")[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new c(t)}transform(t,a){return a==="short"?new Date(t).toLocaleString(this.customLocaleId):a==="shortDate"?new Date(t).toLocaleDateString(this.customLocaleId):this.angularPipe.transform(t,a)}};i(e,"\u0275fac",function(a){return new(a||e)}),i(e,"\u0275pipe",n({name:"ptDate",type:e,pure:!0}));let r=e;return r})();export{m as a};
/**i18n:c65a26d1e9dd8b923403d49a4dccad76e3fa3313ede414d8a3b16d3f73c99bce*/
//# sourceMappingURL=chunk-EVSOOXHN.js.map
