import{$o as mn,H as CS,Ja as g,ac as ui}from"./chunk-b0nJCs5_.js";var s=class i{angularPipe;customLocaleId;constructor(){let t=g(mn);navigator.language.includes(`-`)&&navigator.language.split(`-`)[0]===t.split(`-`)[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new CS(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 ɵfac=function(e){return new(e||i)};static ɵpipe=ui({name:`ptDate`,type:i,pure:!0})};export{s as t};
//# debugId=722a9470-afaa-513b-936f-b8e4feed3938
//# sourceMappingURL=chunk-hDPFqAgp.js.map