import{f as t}from"./p-65879f9e.js";function r(r,e="MMM do, yyyy"){if(!r)return!1;try{return t("string"==typeof r?new Date(Date.parse(r)):"object"==typeof r?(null==r?void 0:r.toDate)?r.toDate():r:parseInt(r),e)}catch(t){console.log("Error formatting date",t)}return r}export{r as f}