import{Ac as c,Da as o,bc as s,ea as n}from"./chunk-X3RCWQ3R.js";import{i as a}from"./chunk-SR6RTMQI.js";var f=(()=>{let e=class e{constructor(t){a(this,"angularPipe");a(this,"customLocaleId");navigator.language.includes("-")&&navigator.language.split("-")[0]===t.split("-")[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new c(t)}transform(t,r){return r==="short"?new Date(t).toLocaleString(this.customLocaleId):r==="shortDate"?new Date(t).toLocaleDateString(this.customLocaleId):this.angularPipe.transform(t,r)}};a(e,"\u0275fac",function(r){return new(r||e)(o(s,16))}),a(e,"\u0275pipe",n({name:"ptDate",type:e,pure:!0,standalone:!0}));let i=e;return i})();export{f as a};
/**i18n:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*/
//# sourceMappingURL=chunk-AFNAKMJA.js.map
