quitar la hora de entrega

This commit is contained in:
Jaume Solís 2024-04-19 18:55:22 +02:00
parent 9da9c79ab8
commit 32b1ffecb0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ export function useCheckoutForm() {
const getFormatedDate = (date) => {
if(date){
let dated = new Date(date.replace('Z', ''));
return `${dated.toLocaleString('es-ES', { day: "numeric" })} de ${dated.toLocaleString('es-ES', { month: "short" })} - De 10h - 12h`;
return `${dated.toLocaleString('es-ES', { day: "numeric" })} de ${dated.toLocaleString('es-ES', { month: "short" })}`;
}
return '';
}