import{Oa as n,Vc as c,aa as o,tc as s}from"./chunk-HJJWL6RD.js";import{i}from"./chunk-H2BCKOF6.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:671d995daee9c68b73ac729b7ab2c3cf3be32c7f1a24d9dfa94e261c45ee5241*/
//# sourceMappingURL=chunk-RV3MX6HX.js.map
