5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 17:26:21 +00:00

fix: poder traer una fecha por defecto

This commit is contained in:
f 2023-10-06 11:51:21 -03:00
parent 76fd32bd92
commit 230beb2cda
No known key found for this signature in database

View file

@ -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.