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:
parent
76fd32bd92
commit
230beb2cda
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue