function r(t){if(!t)return null;const e=t.includes("T")?t:t.replace(" ","T")+"Z",n=new Date(e);return isNaN(n.getTime())?null:n}function i(t){const e=r(t);return e?e.toLocaleDateString("es-ES",{day:"2-digit",month:"short",year:"numeric"}):"—"}function o(t){const e=r(t);return e?e.toLocaleString("es-ES",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"}):"—"}function a(t,e){if(e||!t)return!1;const n=r(t);return n?n.getTime()<Date.now():!1}export{o as a,i as f,a as i};
