import{Bc as c,Ea as o,cc as s,ea as n}from"./chunk-QXV2GR6R.js";import{i as a}from"./chunk-JJ4RDTEF.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:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*/
//# sourceMappingURL=chunk-SFJC7Q3Z.js.map
