From 230beb2cdaccb80494bc5c613f2071d380e9eaa4 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 6 Oct 2023 11:51:21 -0300 Subject: [PATCH] fix: poder traer una fecha por defecto --- app/models/metadata_date.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/metadata_date.rb b/app/models/metadata_date.rb index 99352277..13f2ec5c 100644 --- a/app/models/metadata_date.rb +++ b/app/models/metadata_date.rb @@ -7,7 +7,7 @@ class MetadataDate < MetadataTemplate # # @return [Date] def default_value - Date.today + super || Date.today end # Devuelve una fecha, si no hay ninguna es la fecha de hoy.